Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype ArrayInt = ArrayInt (ManagedPtr ArrayInt)
- newZeroArrayInt :: MonadIO m => m ArrayInt
- arrayIntGet :: (HasCallStack, MonadIO m) => ArrayInt -> m [Int32]
- arrayIntNew :: (HasCallStack, MonadIO m) => [Int32] -> m ArrayInt
- getArrayIntArea :: MonadIO m => ArrayInt -> m Area
Exported types
Memory-managed wrapper type.
Instances
Eq ArrayInt Source # | |
GBoxed ArrayInt Source # | |
Defined in GI.Vips.Structs.ArrayInt | |
ManagedPtrNewtype ArrayInt Source # | |
Defined in GI.Vips.Structs.ArrayInt toManagedPtr :: ArrayInt -> ManagedPtr ArrayInt | |
TypedObject ArrayInt Source # | |
Defined in GI.Vips.Structs.ArrayInt | |
HasParentTypes ArrayInt Source # | |
Defined in GI.Vips.Structs.ArrayInt | |
tag ~ 'AttrSet => Constructible ArrayInt tag Source # | |
IsGValue (Maybe ArrayInt) Source # | Convert |
Defined in GI.Vips.Structs.ArrayInt gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ArrayInt -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe ArrayInt) | |
type ParentTypes ArrayInt Source # | |
Defined in GI.Vips.Structs.ArrayInt |
Methods
Click to display all available methods, including inherited ones
get
:: (HasCallStack, MonadIO m) | |
=> ArrayInt |
|
-> m [Int32] | Returns: array of int |
Fetch an int array from a ArrayInt
. Useful for language bindings.
new
:: (HasCallStack, MonadIO m) | |
=> [Int32] |
|
-> m ArrayInt | Returns: A new |
Properties
area
No description available in the introspection data.
getArrayIntArea :: MonadIO m => ArrayInt -> m Area Source #
Get the value of the “area
” field.
When overloading is enabled, this is equivalent to
get
arrayInt #area