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 |
- Signals
- ArgumentClassMapFn
- ArgumentMapFn
- CallbackFn
- ClassMapFn
- GenerateFn
- ImageMapFn
- InterpolateMethod
- ObjectClassBuildFieldCallback
- ObjectClassCloseFieldCallback
- ObjectClassDumpFieldCallback
- ObjectClassOutputToArgFieldCallback
- ObjectClassPostbuildFieldCallback
- ObjectClassPostcloseFieldCallback
- ObjectClassPrecloseFieldCallback
- ObjectClassRewindFieldCallback
- ObjectClassSanityFieldCallback
- ObjectClassSummaryClassFieldCallback
- ObjectClassSummaryFieldCallback
- ObjectClassToStringFieldCallback
- ObjectSetArguments
- OperationBuildFn
- SListFold2Fn
- SListMap2Fn
- SListMap4Fn
- StartFn
- StopFn
- TypeMap2Fn
- TypeMapFn
Synopsis
- type ArgumentClassMapFn = ObjectClass -> GParamSpec -> ArgumentClass -> Ptr () -> IO (Ptr ())
- type ArgumentClassMapFn_WithClosures = ObjectClass -> GParamSpec -> ArgumentClass -> Ptr () -> Ptr () -> IO (Ptr ())
- type C_ArgumentClassMapFn = Ptr ObjectClass -> Ptr GParamSpec -> Ptr ArgumentClass -> Ptr () -> Ptr () -> IO (Ptr ())
- drop_closures_ArgumentClassMapFn :: ArgumentClassMapFn -> ArgumentClassMapFn_WithClosures
- dynamic_ArgumentClassMapFn :: (HasCallStack, MonadIO m) => FunPtr C_ArgumentClassMapFn -> ObjectClass -> GParamSpec -> ArgumentClass -> Ptr () -> Ptr () -> m (Ptr ())
- genClosure_ArgumentClassMapFn :: MonadIO m => ArgumentClassMapFn -> m (GClosure C_ArgumentClassMapFn)
- mk_ArgumentClassMapFn :: C_ArgumentClassMapFn -> IO (FunPtr C_ArgumentClassMapFn)
- noArgumentClassMapFn :: Maybe ArgumentClassMapFn
- noArgumentClassMapFn_WithClosures :: Maybe ArgumentClassMapFn_WithClosures
- wrap_ArgumentClassMapFn :: Maybe (Ptr (FunPtr C_ArgumentClassMapFn)) -> ArgumentClassMapFn_WithClosures -> C_ArgumentClassMapFn
- type ArgumentMapFn = Object -> GParamSpec -> ArgumentClass -> ArgumentInstance -> Ptr () -> IO (Ptr ())
- type ArgumentMapFn_WithClosures = Object -> GParamSpec -> ArgumentClass -> ArgumentInstance -> Ptr () -> Ptr () -> IO (Ptr ())
- type C_ArgumentMapFn = Ptr Object -> Ptr GParamSpec -> Ptr ArgumentClass -> Ptr ArgumentInstance -> Ptr () -> Ptr () -> IO (Ptr ())
- drop_closures_ArgumentMapFn :: ArgumentMapFn -> ArgumentMapFn_WithClosures
- dynamic_ArgumentMapFn :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ArgumentMapFn -> a -> GParamSpec -> ArgumentClass -> ArgumentInstance -> Ptr () -> Ptr () -> m (Ptr ())
- genClosure_ArgumentMapFn :: MonadIO m => ArgumentMapFn -> m (GClosure C_ArgumentMapFn)
- mk_ArgumentMapFn :: C_ArgumentMapFn -> IO (FunPtr C_ArgumentMapFn)
- noArgumentMapFn :: Maybe ArgumentMapFn
- noArgumentMapFn_WithClosures :: Maybe ArgumentMapFn_WithClosures
- wrap_ArgumentMapFn :: Maybe (Ptr (FunPtr C_ArgumentMapFn)) -> ArgumentMapFn_WithClosures -> C_ArgumentMapFn
- type C_CallbackFn = Ptr () -> Ptr () -> IO Int32
- type CallbackFn = Ptr () -> IO Int32
- type CallbackFn_WithClosures = Ptr () -> Ptr () -> IO Int32
- drop_closures_CallbackFn :: CallbackFn -> CallbackFn_WithClosures
- dynamic_CallbackFn :: (HasCallStack, MonadIO m) => FunPtr C_CallbackFn -> Ptr () -> Ptr () -> m Int32
- genClosure_CallbackFn :: MonadIO m => CallbackFn -> m (GClosure C_CallbackFn)
- mk_CallbackFn :: C_CallbackFn -> IO (FunPtr C_CallbackFn)
- noCallbackFn :: Maybe CallbackFn
- noCallbackFn_WithClosures :: Maybe CallbackFn_WithClosures
- wrap_CallbackFn :: Maybe (Ptr (FunPtr C_CallbackFn)) -> CallbackFn_WithClosures -> C_CallbackFn
- type C_ClassMapFn = Ptr ObjectClass -> Ptr () -> IO (Ptr ())
- type ClassMapFn = ObjectClass -> IO (Ptr ())
- type ClassMapFn_WithClosures = ObjectClass -> Ptr () -> IO (Ptr ())
- drop_closures_ClassMapFn :: ClassMapFn -> ClassMapFn_WithClosures
- dynamic_ClassMapFn :: (HasCallStack, MonadIO m) => FunPtr C_ClassMapFn -> ObjectClass -> Ptr () -> m (Ptr ())
- genClosure_ClassMapFn :: MonadIO m => ClassMapFn -> m (GClosure C_ClassMapFn)
- mk_ClassMapFn :: C_ClassMapFn -> IO (FunPtr C_ClassMapFn)
- noClassMapFn :: Maybe ClassMapFn
- noClassMapFn_WithClosures :: Maybe ClassMapFn_WithClosures
- wrap_ClassMapFn :: Maybe (Ptr (FunPtr C_ClassMapFn)) -> ClassMapFn_WithClosures -> C_ClassMapFn
- type C_GenerateFn = Ptr Region -> Ptr () -> Ptr () -> Ptr () -> CInt -> IO Int32
- type GenerateFn = Region -> Ptr () -> Ptr () -> Ptr () -> Bool -> IO Int32
- dynamic_GenerateFn :: (HasCallStack, MonadIO m, IsRegion a) => FunPtr C_GenerateFn -> a -> Ptr () -> Ptr () -> Ptr () -> Bool -> m Int32
- genClosure_GenerateFn :: MonadIO m => GenerateFn -> m (GClosure C_GenerateFn)
- mk_GenerateFn :: C_GenerateFn -> IO (FunPtr C_GenerateFn)
- noGenerateFn :: Maybe GenerateFn
- wrap_GenerateFn :: Maybe (Ptr (FunPtr C_GenerateFn)) -> GenerateFn -> C_GenerateFn
- type C_ImageMapFn = Ptr Image -> CString -> Ptr GValue -> Ptr () -> IO (Ptr ())
- type ImageMapFn = Image -> Text -> GValue -> IO (Ptr ())
- type ImageMapFn_WithClosures = Image -> Text -> GValue -> Ptr () -> IO (Ptr ())
- drop_closures_ImageMapFn :: ImageMapFn -> ImageMapFn_WithClosures
- dynamic_ImageMapFn :: (HasCallStack, MonadIO m, IsImage a) => FunPtr C_ImageMapFn -> a -> Text -> GValue -> Ptr () -> m (Ptr ())
- genClosure_ImageMapFn :: MonadIO m => ImageMapFn -> m (GClosure C_ImageMapFn)
- mk_ImageMapFn :: C_ImageMapFn -> IO (FunPtr C_ImageMapFn)
- noImageMapFn :: Maybe ImageMapFn
- noImageMapFn_WithClosures :: Maybe ImageMapFn_WithClosures
- wrap_ImageMapFn :: Maybe (Ptr (FunPtr C_ImageMapFn)) -> ImageMapFn_WithClosures -> C_ImageMapFn
- type C_InterpolateMethod = Ptr Interpolate -> Ptr () -> Ptr Region -> CDouble -> CDouble -> IO ()
- type InterpolateMethod = Interpolate -> Ptr () -> Region -> Double -> Double -> IO ()
- dynamic_InterpolateMethod :: (HasCallStack, MonadIO m, IsInterpolate a, IsRegion b) => FunPtr C_InterpolateMethod -> a -> Ptr () -> b -> Double -> Double -> m ()
- genClosure_InterpolateMethod :: MonadIO m => InterpolateMethod -> m (GClosure C_InterpolateMethod)
- mk_InterpolateMethod :: C_InterpolateMethod -> IO (FunPtr C_InterpolateMethod)
- noInterpolateMethod :: Maybe InterpolateMethod
- wrap_InterpolateMethod :: Maybe (Ptr (FunPtr C_InterpolateMethod)) -> InterpolateMethod -> C_InterpolateMethod
- type C_ObjectClassBuildFieldCallback = Ptr Object -> IO Int32
- type ObjectClassBuildFieldCallback = Object -> IO Int32
- dynamic_ObjectClassBuildFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassBuildFieldCallback -> a -> m Int32
- genClosure_ObjectClassBuildFieldCallback :: MonadIO m => ObjectClassBuildFieldCallback -> m (GClosure C_ObjectClassBuildFieldCallback)
- mk_ObjectClassBuildFieldCallback :: C_ObjectClassBuildFieldCallback -> IO (FunPtr C_ObjectClassBuildFieldCallback)
- noObjectClassBuildFieldCallback :: Maybe ObjectClassBuildFieldCallback
- wrap_ObjectClassBuildFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassBuildFieldCallback)) -> ObjectClassBuildFieldCallback -> C_ObjectClassBuildFieldCallback
- type C_ObjectClassCloseFieldCallback = Ptr Object -> IO ()
- type ObjectClassCloseFieldCallback = Object -> IO ()
- dynamic_ObjectClassCloseFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassCloseFieldCallback -> a -> m ()
- genClosure_ObjectClassCloseFieldCallback :: MonadIO m => ObjectClassCloseFieldCallback -> m (GClosure C_ObjectClassCloseFieldCallback)
- mk_ObjectClassCloseFieldCallback :: C_ObjectClassCloseFieldCallback -> IO (FunPtr C_ObjectClassCloseFieldCallback)
- noObjectClassCloseFieldCallback :: Maybe ObjectClassCloseFieldCallback
- wrap_ObjectClassCloseFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassCloseFieldCallback)) -> ObjectClassCloseFieldCallback -> C_ObjectClassCloseFieldCallback
- type C_ObjectClassDumpFieldCallback = Ptr Object -> Ptr Buf -> IO ()
- type ObjectClassDumpFieldCallback = Object -> Buf -> IO ()
- dynamic_ObjectClassDumpFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassDumpFieldCallback -> a -> Buf -> m ()
- genClosure_ObjectClassDumpFieldCallback :: MonadIO m => ObjectClassDumpFieldCallback -> m (GClosure C_ObjectClassDumpFieldCallback)
- mk_ObjectClassDumpFieldCallback :: C_ObjectClassDumpFieldCallback -> IO (FunPtr C_ObjectClassDumpFieldCallback)
- noObjectClassDumpFieldCallback :: Maybe ObjectClassDumpFieldCallback
- wrap_ObjectClassDumpFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassDumpFieldCallback)) -> ObjectClassDumpFieldCallback -> C_ObjectClassDumpFieldCallback
- type C_ObjectClassOutputToArgFieldCallback = Ptr Object -> CString -> IO Int32
- type ObjectClassOutputToArgFieldCallback = Object -> Text -> IO Int32
- dynamic_ObjectClassOutputToArgFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassOutputToArgFieldCallback -> a -> Text -> m Int32
- genClosure_ObjectClassOutputToArgFieldCallback :: MonadIO m => ObjectClassOutputToArgFieldCallback -> m (GClosure C_ObjectClassOutputToArgFieldCallback)
- mk_ObjectClassOutputToArgFieldCallback :: C_ObjectClassOutputToArgFieldCallback -> IO (FunPtr C_ObjectClassOutputToArgFieldCallback)
- noObjectClassOutputToArgFieldCallback :: Maybe ObjectClassOutputToArgFieldCallback
- wrap_ObjectClassOutputToArgFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassOutputToArgFieldCallback)) -> ObjectClassOutputToArgFieldCallback -> C_ObjectClassOutputToArgFieldCallback
- type C_ObjectClassPostbuildFieldCallback = Ptr Object -> Ptr () -> IO Int32
- type ObjectClassPostbuildFieldCallback = Object -> IO Int32
- type ObjectClassPostbuildFieldCallback_WithClosures = Object -> Ptr () -> IO Int32
- drop_closures_ObjectClassPostbuildFieldCallback :: ObjectClassPostbuildFieldCallback -> ObjectClassPostbuildFieldCallback_WithClosures
- dynamic_ObjectClassPostbuildFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassPostbuildFieldCallback -> a -> Ptr () -> m Int32
- genClosure_ObjectClassPostbuildFieldCallback :: MonadIO m => ObjectClassPostbuildFieldCallback -> m (GClosure C_ObjectClassPostbuildFieldCallback)
- mk_ObjectClassPostbuildFieldCallback :: C_ObjectClassPostbuildFieldCallback -> IO (FunPtr C_ObjectClassPostbuildFieldCallback)
- noObjectClassPostbuildFieldCallback :: Maybe ObjectClassPostbuildFieldCallback
- noObjectClassPostbuildFieldCallback_WithClosures :: Maybe ObjectClassPostbuildFieldCallback_WithClosures
- wrap_ObjectClassPostbuildFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassPostbuildFieldCallback)) -> ObjectClassPostbuildFieldCallback_WithClosures -> C_ObjectClassPostbuildFieldCallback
- type C_ObjectClassPostcloseFieldCallback = Ptr Object -> IO ()
- type ObjectClassPostcloseFieldCallback = Object -> IO ()
- dynamic_ObjectClassPostcloseFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassPostcloseFieldCallback -> a -> m ()
- genClosure_ObjectClassPostcloseFieldCallback :: MonadIO m => ObjectClassPostcloseFieldCallback -> m (GClosure C_ObjectClassPostcloseFieldCallback)
- mk_ObjectClassPostcloseFieldCallback :: C_ObjectClassPostcloseFieldCallback -> IO (FunPtr C_ObjectClassPostcloseFieldCallback)
- noObjectClassPostcloseFieldCallback :: Maybe ObjectClassPostcloseFieldCallback
- wrap_ObjectClassPostcloseFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassPostcloseFieldCallback)) -> ObjectClassPostcloseFieldCallback -> C_ObjectClassPostcloseFieldCallback
- type C_ObjectClassPrecloseFieldCallback = Ptr Object -> IO ()
- type ObjectClassPrecloseFieldCallback = Object -> IO ()
- dynamic_ObjectClassPrecloseFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassPrecloseFieldCallback -> a -> m ()
- genClosure_ObjectClassPrecloseFieldCallback :: MonadIO m => ObjectClassPrecloseFieldCallback -> m (GClosure C_ObjectClassPrecloseFieldCallback)
- mk_ObjectClassPrecloseFieldCallback :: C_ObjectClassPrecloseFieldCallback -> IO (FunPtr C_ObjectClassPrecloseFieldCallback)
- noObjectClassPrecloseFieldCallback :: Maybe ObjectClassPrecloseFieldCallback
- wrap_ObjectClassPrecloseFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassPrecloseFieldCallback)) -> ObjectClassPrecloseFieldCallback -> C_ObjectClassPrecloseFieldCallback
- type C_ObjectClassRewindFieldCallback = Ptr Object -> IO ()
- type ObjectClassRewindFieldCallback = Object -> IO ()
- dynamic_ObjectClassRewindFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassRewindFieldCallback -> a -> m ()
- genClosure_ObjectClassRewindFieldCallback :: MonadIO m => ObjectClassRewindFieldCallback -> m (GClosure C_ObjectClassRewindFieldCallback)
- mk_ObjectClassRewindFieldCallback :: C_ObjectClassRewindFieldCallback -> IO (FunPtr C_ObjectClassRewindFieldCallback)
- noObjectClassRewindFieldCallback :: Maybe ObjectClassRewindFieldCallback
- wrap_ObjectClassRewindFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassRewindFieldCallback)) -> ObjectClassRewindFieldCallback -> C_ObjectClassRewindFieldCallback
- type C_ObjectClassSanityFieldCallback = Ptr Object -> Ptr Buf -> IO ()
- type ObjectClassSanityFieldCallback = Object -> Buf -> IO ()
- dynamic_ObjectClassSanityFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassSanityFieldCallback -> a -> Buf -> m ()
- genClosure_ObjectClassSanityFieldCallback :: MonadIO m => ObjectClassSanityFieldCallback -> m (GClosure C_ObjectClassSanityFieldCallback)
- mk_ObjectClassSanityFieldCallback :: C_ObjectClassSanityFieldCallback -> IO (FunPtr C_ObjectClassSanityFieldCallback)
- noObjectClassSanityFieldCallback :: Maybe ObjectClassSanityFieldCallback
- wrap_ObjectClassSanityFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassSanityFieldCallback)) -> ObjectClassSanityFieldCallback -> C_ObjectClassSanityFieldCallback
- type C_ObjectClassSummaryClassFieldCallback = Ptr () -> Ptr Buf -> IO ()
- type ObjectClassSummaryClassFieldCallback = Ptr () -> Buf -> IO ()
- dynamic_ObjectClassSummaryClassFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ObjectClassSummaryClassFieldCallback -> Ptr () -> Buf -> m ()
- genClosure_ObjectClassSummaryClassFieldCallback :: MonadIO m => ObjectClassSummaryClassFieldCallback -> m (GClosure C_ObjectClassSummaryClassFieldCallback)
- mk_ObjectClassSummaryClassFieldCallback :: C_ObjectClassSummaryClassFieldCallback -> IO (FunPtr C_ObjectClassSummaryClassFieldCallback)
- noObjectClassSummaryClassFieldCallback :: Maybe ObjectClassSummaryClassFieldCallback
- wrap_ObjectClassSummaryClassFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassSummaryClassFieldCallback)) -> ObjectClassSummaryClassFieldCallback -> C_ObjectClassSummaryClassFieldCallback
- type C_ObjectClassSummaryFieldCallback = Ptr Object -> Ptr Buf -> IO ()
- type ObjectClassSummaryFieldCallback = Object -> Buf -> IO ()
- dynamic_ObjectClassSummaryFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassSummaryFieldCallback -> a -> Buf -> m ()
- genClosure_ObjectClassSummaryFieldCallback :: MonadIO m => ObjectClassSummaryFieldCallback -> m (GClosure C_ObjectClassSummaryFieldCallback)
- mk_ObjectClassSummaryFieldCallback :: C_ObjectClassSummaryFieldCallback -> IO (FunPtr C_ObjectClassSummaryFieldCallback)
- noObjectClassSummaryFieldCallback :: Maybe ObjectClassSummaryFieldCallback
- wrap_ObjectClassSummaryFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassSummaryFieldCallback)) -> ObjectClassSummaryFieldCallback -> C_ObjectClassSummaryFieldCallback
- type C_ObjectClassToStringFieldCallback = Ptr Object -> Ptr Buf -> IO ()
- type ObjectClassToStringFieldCallback = Object -> Buf -> IO ()
- dynamic_ObjectClassToStringFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassToStringFieldCallback -> a -> Buf -> m ()
- genClosure_ObjectClassToStringFieldCallback :: MonadIO m => ObjectClassToStringFieldCallback -> m (GClosure C_ObjectClassToStringFieldCallback)
- mk_ObjectClassToStringFieldCallback :: C_ObjectClassToStringFieldCallback -> IO (FunPtr C_ObjectClassToStringFieldCallback)
- noObjectClassToStringFieldCallback :: Maybe ObjectClassToStringFieldCallback
- wrap_ObjectClassToStringFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassToStringFieldCallback)) -> ObjectClassToStringFieldCallback -> C_ObjectClassToStringFieldCallback
- type C_ObjectSetArguments = Ptr Object -> Ptr () -> Ptr () -> IO (Ptr ())
- type ObjectSetArguments = Object -> Ptr () -> IO (Ptr ())
- type ObjectSetArguments_WithClosures = Object -> Ptr () -> Ptr () -> IO (Ptr ())
- drop_closures_ObjectSetArguments :: ObjectSetArguments -> ObjectSetArguments_WithClosures
- dynamic_ObjectSetArguments :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectSetArguments -> a -> Ptr () -> Ptr () -> m (Ptr ())
- genClosure_ObjectSetArguments :: MonadIO m => ObjectSetArguments -> m (GClosure C_ObjectSetArguments)
- mk_ObjectSetArguments :: C_ObjectSetArguments -> IO (FunPtr C_ObjectSetArguments)
- noObjectSetArguments :: Maybe ObjectSetArguments
- noObjectSetArguments_WithClosures :: Maybe ObjectSetArguments_WithClosures
- wrap_ObjectSetArguments :: Maybe (Ptr (FunPtr C_ObjectSetArguments)) -> ObjectSetArguments_WithClosures -> C_ObjectSetArguments
- type C_OperationBuildFn = Ptr Object -> IO CInt
- type OperationBuildFn = Object -> IO Bool
- dynamic_OperationBuildFn :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_OperationBuildFn -> a -> m Bool
- genClosure_OperationBuildFn :: MonadIO m => OperationBuildFn -> m (GClosure C_OperationBuildFn)
- mk_OperationBuildFn :: C_OperationBuildFn -> IO (FunPtr C_OperationBuildFn)
- noOperationBuildFn :: Maybe OperationBuildFn
- wrap_OperationBuildFn :: Maybe (Ptr (FunPtr C_OperationBuildFn)) -> OperationBuildFn -> C_OperationBuildFn
- type C_SListFold2Fn = Ptr () -> Ptr () -> Ptr () -> Ptr () -> IO (Ptr ())
- type SListFold2Fn = Ptr () -> Ptr () -> Ptr () -> IO (Ptr ())
- type SListFold2Fn_WithClosures = Ptr () -> Ptr () -> Ptr () -> Ptr () -> IO (Ptr ())
- drop_closures_SListFold2Fn :: SListFold2Fn -> SListFold2Fn_WithClosures
- dynamic_SListFold2Fn :: (HasCallStack, MonadIO m) => FunPtr C_SListFold2Fn -> Ptr () -> Ptr () -> Ptr () -> Ptr () -> m (Ptr ())
- genClosure_SListFold2Fn :: MonadIO m => SListFold2Fn -> m (GClosure C_SListFold2Fn)
- mk_SListFold2Fn :: C_SListFold2Fn -> IO (FunPtr C_SListFold2Fn)
- noSListFold2Fn :: Maybe SListFold2Fn
- noSListFold2Fn_WithClosures :: Maybe SListFold2Fn_WithClosures
- wrap_SListFold2Fn :: Maybe (Ptr (FunPtr C_SListFold2Fn)) -> SListFold2Fn_WithClosures -> C_SListFold2Fn
- type C_SListMap2Fn = Ptr () -> Ptr () -> Ptr () -> IO (Ptr ())
- type SListMap2Fn = Ptr () -> Ptr () -> IO (Ptr ())
- type SListMap2Fn_WithClosures = Ptr () -> Ptr () -> Ptr () -> IO (Ptr ())
- drop_closures_SListMap2Fn :: SListMap2Fn -> SListMap2Fn_WithClosures
- dynamic_SListMap2Fn :: (HasCallStack, MonadIO m) => FunPtr C_SListMap2Fn -> Ptr () -> Ptr () -> Ptr () -> m (Ptr ())
- genClosure_SListMap2Fn :: MonadIO m => SListMap2Fn -> m (GClosure C_SListMap2Fn)
- mk_SListMap2Fn :: C_SListMap2Fn -> IO (FunPtr C_SListMap2Fn)
- noSListMap2Fn :: Maybe SListMap2Fn
- noSListMap2Fn_WithClosures :: Maybe SListMap2Fn_WithClosures
- wrap_SListMap2Fn :: Maybe (Ptr (FunPtr C_SListMap2Fn)) -> SListMap2Fn_WithClosures -> C_SListMap2Fn
- type C_SListMap4Fn = Ptr () -> Ptr () -> Ptr () -> Ptr () -> Ptr () -> IO (Ptr ())
- type SListMap4Fn = Ptr () -> Ptr () -> Ptr () -> Ptr () -> IO (Ptr ())
- type SListMap4Fn_WithClosures = Ptr () -> Ptr () -> Ptr () -> Ptr () -> Ptr () -> IO (Ptr ())
- drop_closures_SListMap4Fn :: SListMap4Fn -> SListMap4Fn_WithClosures
- dynamic_SListMap4Fn :: (HasCallStack, MonadIO m) => FunPtr C_SListMap4Fn -> Ptr () -> Ptr () -> Ptr () -> Ptr () -> Ptr () -> m (Ptr ())
- genClosure_SListMap4Fn :: MonadIO m => SListMap4Fn -> m (GClosure C_SListMap4Fn)
- mk_SListMap4Fn :: C_SListMap4Fn -> IO (FunPtr C_SListMap4Fn)
- noSListMap4Fn :: Maybe SListMap4Fn
- noSListMap4Fn_WithClosures :: Maybe SListMap4Fn_WithClosures
- wrap_SListMap4Fn :: Maybe (Ptr (FunPtr C_SListMap4Fn)) -> SListMap4Fn_WithClosures -> C_SListMap4Fn
- type C_StartFn = Ptr Image -> Ptr () -> Ptr () -> IO (Ptr ())
- type StartFn = Image -> Ptr () -> IO (Ptr ())
- type StartFn_WithClosures = Image -> Ptr () -> Ptr () -> IO (Ptr ())
- drop_closures_StartFn :: StartFn -> StartFn_WithClosures
- dynamic_StartFn :: (HasCallStack, MonadIO m, IsImage a) => FunPtr C_StartFn -> a -> Ptr () -> Ptr () -> m (Ptr ())
- genClosure_StartFn :: MonadIO m => StartFn -> m (GClosure C_StartFn)
- mk_StartFn :: C_StartFn -> IO (FunPtr C_StartFn)
- noStartFn :: Maybe StartFn
- noStartFn_WithClosures :: Maybe StartFn_WithClosures
- wrap_StartFn :: Maybe (Ptr (FunPtr C_StartFn)) -> StartFn_WithClosures -> C_StartFn
- type C_StopFn = Ptr () -> Ptr () -> Ptr () -> IO Int32
- type StopFn = Ptr () -> Ptr () -> IO Int32
- type StopFn_WithClosures = Ptr () -> Ptr () -> Ptr () -> IO Int32
- drop_closures_StopFn :: StopFn -> StopFn_WithClosures
- dynamic_StopFn :: (HasCallStack, MonadIO m) => FunPtr C_StopFn -> Ptr () -> Ptr () -> Ptr () -> m Int32
- genClosure_StopFn :: MonadIO m => StopFn -> m (GClosure C_StopFn)
- mk_StopFn :: C_StopFn -> IO (FunPtr C_StopFn)
- noStopFn :: Maybe StopFn
- noStopFn_WithClosures :: Maybe StopFn_WithClosures
- wrap_StopFn :: Maybe (Ptr (FunPtr C_StopFn)) -> StopFn_WithClosures -> C_StopFn
- type C_TypeMap2Fn = CGType -> Ptr () -> Ptr () -> IO (Ptr ())
- type TypeMap2Fn = GType -> Ptr () -> IO (Ptr ())
- type TypeMap2Fn_WithClosures = GType -> Ptr () -> Ptr () -> IO (Ptr ())
- drop_closures_TypeMap2Fn :: TypeMap2Fn -> TypeMap2Fn_WithClosures
- dynamic_TypeMap2Fn :: (HasCallStack, MonadIO m) => FunPtr C_TypeMap2Fn -> GType -> Ptr () -> Ptr () -> m (Ptr ())
- genClosure_TypeMap2Fn :: MonadIO m => TypeMap2Fn -> m (GClosure C_TypeMap2Fn)
- mk_TypeMap2Fn :: C_TypeMap2Fn -> IO (FunPtr C_TypeMap2Fn)
- noTypeMap2Fn :: Maybe TypeMap2Fn
- noTypeMap2Fn_WithClosures :: Maybe TypeMap2Fn_WithClosures
- wrap_TypeMap2Fn :: Maybe (Ptr (FunPtr C_TypeMap2Fn)) -> TypeMap2Fn_WithClosures -> C_TypeMap2Fn
- type C_TypeMapFn = CGType -> Ptr () -> IO (Ptr ())
- type TypeMapFn = GType -> IO (Ptr ())
- type TypeMapFn_WithClosures = GType -> Ptr () -> IO (Ptr ())
- drop_closures_TypeMapFn :: TypeMapFn -> TypeMapFn_WithClosures
- dynamic_TypeMapFn :: (HasCallStack, MonadIO m) => FunPtr C_TypeMapFn -> GType -> Ptr () -> m (Ptr ())
- genClosure_TypeMapFn :: MonadIO m => TypeMapFn -> m (GClosure C_TypeMapFn)
- mk_TypeMapFn :: C_TypeMapFn -> IO (FunPtr C_TypeMapFn)
- noTypeMapFn :: Maybe TypeMapFn
- noTypeMapFn_WithClosures :: Maybe TypeMapFn_WithClosures
- wrap_TypeMapFn :: Maybe (Ptr (FunPtr C_TypeMapFn)) -> TypeMapFn_WithClosures -> C_TypeMapFn
Signals
ArgumentClassMapFn
type ArgumentClassMapFn = ObjectClass -> GParamSpec -> ArgumentClass -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
type ArgumentClassMapFn_WithClosures = ObjectClass -> GParamSpec -> ArgumentClass -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
type C_ArgumentClassMapFn = Ptr ObjectClass -> Ptr GParamSpec -> Ptr ArgumentClass -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
drop_closures_ArgumentClassMapFn :: ArgumentClassMapFn -> ArgumentClassMapFn_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_ArgumentClassMapFn :: (HasCallStack, MonadIO m) => FunPtr C_ArgumentClassMapFn -> ObjectClass -> GParamSpec -> ArgumentClass -> Ptr () -> Ptr () -> m (Ptr ()) Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ArgumentClassMapFn :: MonadIO m => ArgumentClassMapFn -> m (GClosure C_ArgumentClassMapFn) Source #
Wrap the callback into a GClosure
.
mk_ArgumentClassMapFn :: C_ArgumentClassMapFn -> IO (FunPtr C_ArgumentClassMapFn) Source #
Generate a function pointer callable from C code, from a C_ArgumentClassMapFn
.
noArgumentClassMapFn :: Maybe ArgumentClassMapFn Source #
A convenience synonym for
.Nothing
:: Maybe
ArgumentClassMapFn
noArgumentClassMapFn_WithClosures :: Maybe ArgumentClassMapFn_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
ArgumentClassMapFn_WithClosures
wrap_ArgumentClassMapFn :: Maybe (Ptr (FunPtr C_ArgumentClassMapFn)) -> ArgumentClassMapFn_WithClosures -> C_ArgumentClassMapFn Source #
Wrap a ArgumentClassMapFn
into a C_ArgumentClassMapFn
.
ArgumentMapFn
type ArgumentMapFn = Object -> GParamSpec -> ArgumentClass -> ArgumentInstance -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
type ArgumentMapFn_WithClosures = Object -> GParamSpec -> ArgumentClass -> ArgumentInstance -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
type C_ArgumentMapFn = Ptr Object -> Ptr GParamSpec -> Ptr ArgumentClass -> Ptr ArgumentInstance -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
drop_closures_ArgumentMapFn :: ArgumentMapFn -> ArgumentMapFn_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_ArgumentMapFn :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ArgumentMapFn -> a -> GParamSpec -> ArgumentClass -> ArgumentInstance -> Ptr () -> Ptr () -> m (Ptr ()) Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ArgumentMapFn :: MonadIO m => ArgumentMapFn -> m (GClosure C_ArgumentMapFn) Source #
Wrap the callback into a GClosure
.
mk_ArgumentMapFn :: C_ArgumentMapFn -> IO (FunPtr C_ArgumentMapFn) Source #
Generate a function pointer callable from C code, from a C_ArgumentMapFn
.
noArgumentMapFn :: Maybe ArgumentMapFn Source #
A convenience synonym for
.Nothing
:: Maybe
ArgumentMapFn
noArgumentMapFn_WithClosures :: Maybe ArgumentMapFn_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
ArgumentMapFn_WithClosures
wrap_ArgumentMapFn :: Maybe (Ptr (FunPtr C_ArgumentMapFn)) -> ArgumentMapFn_WithClosures -> C_ArgumentMapFn Source #
Wrap a ArgumentMapFn
into a C_ArgumentMapFn
.
CallbackFn
type C_CallbackFn = Ptr () -> Ptr () -> IO Int32 Source #
Type for the callback on the (unwrapped) C side.
type CallbackFn_WithClosures = Ptr () -> Ptr () -> IO Int32 Source #
No description available in the introspection data.
drop_closures_CallbackFn :: CallbackFn -> CallbackFn_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_CallbackFn :: (HasCallStack, MonadIO m) => FunPtr C_CallbackFn -> Ptr () -> Ptr () -> m Int32 Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_CallbackFn :: MonadIO m => CallbackFn -> m (GClosure C_CallbackFn) Source #
Wrap the callback into a GClosure
.
mk_CallbackFn :: C_CallbackFn -> IO (FunPtr C_CallbackFn) Source #
Generate a function pointer callable from C code, from a C_CallbackFn
.
noCallbackFn :: Maybe CallbackFn Source #
A convenience synonym for
.Nothing
:: Maybe
CallbackFn
noCallbackFn_WithClosures :: Maybe CallbackFn_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
CallbackFn_WithClosures
wrap_CallbackFn :: Maybe (Ptr (FunPtr C_CallbackFn)) -> CallbackFn_WithClosures -> C_CallbackFn Source #
Wrap a CallbackFn
into a C_CallbackFn
.
ClassMapFn
type C_ClassMapFn = Ptr ObjectClass -> Ptr () -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
type ClassMapFn = ObjectClass -> IO (Ptr ()) Source #
No description available in the introspection data.
type ClassMapFn_WithClosures = ObjectClass -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
drop_closures_ClassMapFn :: ClassMapFn -> ClassMapFn_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_ClassMapFn :: (HasCallStack, MonadIO m) => FunPtr C_ClassMapFn -> ObjectClass -> Ptr () -> m (Ptr ()) Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ClassMapFn :: MonadIO m => ClassMapFn -> m (GClosure C_ClassMapFn) Source #
Wrap the callback into a GClosure
.
mk_ClassMapFn :: C_ClassMapFn -> IO (FunPtr C_ClassMapFn) Source #
Generate a function pointer callable from C code, from a C_ClassMapFn
.
noClassMapFn :: Maybe ClassMapFn Source #
A convenience synonym for
.Nothing
:: Maybe
ClassMapFn
noClassMapFn_WithClosures :: Maybe ClassMapFn_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
ClassMapFn_WithClosures
wrap_ClassMapFn :: Maybe (Ptr (FunPtr C_ClassMapFn)) -> ClassMapFn_WithClosures -> C_ClassMapFn Source #
Wrap a ClassMapFn
into a C_ClassMapFn
.
GenerateFn
type C_GenerateFn = Ptr Region -> Ptr () -> Ptr () -> Ptr () -> CInt -> IO Int32 Source #
Type for the callback on the (unwrapped) C side.
type GenerateFn Source #
= Region |
|
-> Ptr () |
|
-> Ptr () |
|
-> Ptr () |
|
-> Bool |
|
-> IO Int32 | Returns: 0 on success, -1 on error. |
Fill out
->valid with pixels. seq
contains per-thread state, such as the
input regions. Set stop
to True
to stop processing.
See also: vips_image_generate()
, vips_stop_many()
.
:: (HasCallStack, MonadIO m, IsRegion a) | |
=> FunPtr C_GenerateFn | |
-> a |
|
-> Ptr () |
|
-> Ptr () |
|
-> Ptr () |
|
-> Bool |
|
-> m Int32 | Returns: 0 on success, -1 on error. |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_GenerateFn :: MonadIO m => GenerateFn -> m (GClosure C_GenerateFn) Source #
Wrap the callback into a GClosure
.
mk_GenerateFn :: C_GenerateFn -> IO (FunPtr C_GenerateFn) Source #
Generate a function pointer callable from C code, from a C_GenerateFn
.
noGenerateFn :: Maybe GenerateFn Source #
A convenience synonym for
.Nothing
:: Maybe
GenerateFn
wrap_GenerateFn :: Maybe (Ptr (FunPtr C_GenerateFn)) -> GenerateFn -> C_GenerateFn Source #
Wrap a GenerateFn
into a C_GenerateFn
.
ImageMapFn
type C_ImageMapFn = Ptr Image -> CString -> Ptr GValue -> Ptr () -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
type ImageMapFn = Image -> Text -> GValue -> IO (Ptr ()) Source #
No description available in the introspection data.
type ImageMapFn_WithClosures = Image -> Text -> GValue -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
drop_closures_ImageMapFn :: ImageMapFn -> ImageMapFn_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_ImageMapFn :: (HasCallStack, MonadIO m, IsImage a) => FunPtr C_ImageMapFn -> a -> Text -> GValue -> Ptr () -> m (Ptr ()) Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ImageMapFn :: MonadIO m => ImageMapFn -> m (GClosure C_ImageMapFn) Source #
Wrap the callback into a GClosure
.
mk_ImageMapFn :: C_ImageMapFn -> IO (FunPtr C_ImageMapFn) Source #
Generate a function pointer callable from C code, from a C_ImageMapFn
.
noImageMapFn :: Maybe ImageMapFn Source #
A convenience synonym for
.Nothing
:: Maybe
ImageMapFn
noImageMapFn_WithClosures :: Maybe ImageMapFn_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
ImageMapFn_WithClosures
wrap_ImageMapFn :: Maybe (Ptr (FunPtr C_ImageMapFn)) -> ImageMapFn_WithClosures -> C_ImageMapFn Source #
Wrap a ImageMapFn
into a C_ImageMapFn
.
InterpolateMethod
type C_InterpolateMethod = Ptr Interpolate -> Ptr () -> Ptr Region -> CDouble -> CDouble -> IO () Source #
Type for the callback on the (unwrapped) C side.
type InterpolateMethod Source #
= Interpolate |
|
-> Ptr () |
|
-> Region |
|
-> Double |
|
-> Double |
|
-> IO () |
An interpolation function. It should read source pixels from in
with
VIPS_REGION_ADDR()
, it can look left and up from (x, y) by windowOffset
pixels and it can access pixels in a window of size windowSize
.
The interpolated value should be written to the pixel pointed to by out
.
See also: InterpolateClass
.
dynamic_InterpolateMethod Source #
:: (HasCallStack, MonadIO m, IsInterpolate a, IsRegion b) | |
=> FunPtr C_InterpolateMethod | |
-> a |
|
-> Ptr () |
|
-> b |
|
-> Double |
|
-> Double |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_InterpolateMethod :: MonadIO m => InterpolateMethod -> m (GClosure C_InterpolateMethod) Source #
Wrap the callback into a GClosure
.
mk_InterpolateMethod :: C_InterpolateMethod -> IO (FunPtr C_InterpolateMethod) Source #
Generate a function pointer callable from C code, from a C_InterpolateMethod
.
noInterpolateMethod :: Maybe InterpolateMethod Source #
A convenience synonym for
.Nothing
:: Maybe
InterpolateMethod
wrap_InterpolateMethod :: Maybe (Ptr (FunPtr C_InterpolateMethod)) -> InterpolateMethod -> C_InterpolateMethod Source #
Wrap a InterpolateMethod
into a C_InterpolateMethod
.
ObjectClassBuildFieldCallback
type C_ObjectClassBuildFieldCallback = Ptr Object -> IO Int32 Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassBuildFieldCallback = Object -> IO Int32 Source #
No description available in the introspection data.
dynamic_ObjectClassBuildFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassBuildFieldCallback -> a -> m Int32 Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassBuildFieldCallback :: MonadIO m => ObjectClassBuildFieldCallback -> m (GClosure C_ObjectClassBuildFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassBuildFieldCallback :: C_ObjectClassBuildFieldCallback -> IO (FunPtr C_ObjectClassBuildFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassBuildFieldCallback
.
noObjectClassBuildFieldCallback :: Maybe ObjectClassBuildFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassBuildFieldCallback
wrap_ObjectClassBuildFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassBuildFieldCallback)) -> ObjectClassBuildFieldCallback -> C_ObjectClassBuildFieldCallback Source #
Wrap a ObjectClassBuildFieldCallback
into a C_ObjectClassBuildFieldCallback
.
ObjectClassCloseFieldCallback
type C_ObjectClassCloseFieldCallback = Ptr Object -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassCloseFieldCallback = Object -> IO () Source #
No description available in the introspection data.
dynamic_ObjectClassCloseFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassCloseFieldCallback -> a -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassCloseFieldCallback :: MonadIO m => ObjectClassCloseFieldCallback -> m (GClosure C_ObjectClassCloseFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassCloseFieldCallback :: C_ObjectClassCloseFieldCallback -> IO (FunPtr C_ObjectClassCloseFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassCloseFieldCallback
.
noObjectClassCloseFieldCallback :: Maybe ObjectClassCloseFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassCloseFieldCallback
wrap_ObjectClassCloseFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassCloseFieldCallback)) -> ObjectClassCloseFieldCallback -> C_ObjectClassCloseFieldCallback Source #
Wrap a ObjectClassCloseFieldCallback
into a C_ObjectClassCloseFieldCallback
.
ObjectClassDumpFieldCallback
type C_ObjectClassDumpFieldCallback = Ptr Object -> Ptr Buf -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassDumpFieldCallback Source #
No description available in the introspection data.
dynamic_ObjectClassDumpFieldCallback Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> FunPtr C_ObjectClassDumpFieldCallback | |
-> a |
|
-> Buf |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassDumpFieldCallback :: MonadIO m => ObjectClassDumpFieldCallback -> m (GClosure C_ObjectClassDumpFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassDumpFieldCallback :: C_ObjectClassDumpFieldCallback -> IO (FunPtr C_ObjectClassDumpFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassDumpFieldCallback
.
noObjectClassDumpFieldCallback :: Maybe ObjectClassDumpFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassDumpFieldCallback
wrap_ObjectClassDumpFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassDumpFieldCallback)) -> ObjectClassDumpFieldCallback -> C_ObjectClassDumpFieldCallback Source #
Wrap a ObjectClassDumpFieldCallback
into a C_ObjectClassDumpFieldCallback
.
ObjectClassOutputToArgFieldCallback
type C_ObjectClassOutputToArgFieldCallback = Ptr Object -> CString -> IO Int32 Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassOutputToArgFieldCallback = Object -> Text -> IO Int32 Source #
No description available in the introspection data.
dynamic_ObjectClassOutputToArgFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassOutputToArgFieldCallback -> a -> Text -> m Int32 Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassOutputToArgFieldCallback :: MonadIO m => ObjectClassOutputToArgFieldCallback -> m (GClosure C_ObjectClassOutputToArgFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassOutputToArgFieldCallback :: C_ObjectClassOutputToArgFieldCallback -> IO (FunPtr C_ObjectClassOutputToArgFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassOutputToArgFieldCallback
.
noObjectClassOutputToArgFieldCallback :: Maybe ObjectClassOutputToArgFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassOutputToArgFieldCallback
wrap_ObjectClassOutputToArgFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassOutputToArgFieldCallback)) -> ObjectClassOutputToArgFieldCallback -> C_ObjectClassOutputToArgFieldCallback Source #
ObjectClassPostbuildFieldCallback
type C_ObjectClassPostbuildFieldCallback = Ptr Object -> Ptr () -> IO Int32 Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassPostbuildFieldCallback = Object -> IO Int32 Source #
No description available in the introspection data.
type ObjectClassPostbuildFieldCallback_WithClosures = Object -> Ptr () -> IO Int32 Source #
No description available in the introspection data.
drop_closures_ObjectClassPostbuildFieldCallback :: ObjectClassPostbuildFieldCallback -> ObjectClassPostbuildFieldCallback_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_ObjectClassPostbuildFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassPostbuildFieldCallback -> a -> Ptr () -> m Int32 Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassPostbuildFieldCallback :: MonadIO m => ObjectClassPostbuildFieldCallback -> m (GClosure C_ObjectClassPostbuildFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassPostbuildFieldCallback :: C_ObjectClassPostbuildFieldCallback -> IO (FunPtr C_ObjectClassPostbuildFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassPostbuildFieldCallback
.
noObjectClassPostbuildFieldCallback :: Maybe ObjectClassPostbuildFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassPostbuildFieldCallback
noObjectClassPostbuildFieldCallback_WithClosures :: Maybe ObjectClassPostbuildFieldCallback_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassPostbuildFieldCallback_WithClosures
wrap_ObjectClassPostbuildFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassPostbuildFieldCallback)) -> ObjectClassPostbuildFieldCallback_WithClosures -> C_ObjectClassPostbuildFieldCallback Source #
ObjectClassPostcloseFieldCallback
type C_ObjectClassPostcloseFieldCallback = Ptr Object -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassPostcloseFieldCallback = Object -> IO () Source #
No description available in the introspection data.
dynamic_ObjectClassPostcloseFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassPostcloseFieldCallback -> a -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassPostcloseFieldCallback :: MonadIO m => ObjectClassPostcloseFieldCallback -> m (GClosure C_ObjectClassPostcloseFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassPostcloseFieldCallback :: C_ObjectClassPostcloseFieldCallback -> IO (FunPtr C_ObjectClassPostcloseFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassPostcloseFieldCallback
.
noObjectClassPostcloseFieldCallback :: Maybe ObjectClassPostcloseFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassPostcloseFieldCallback
wrap_ObjectClassPostcloseFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassPostcloseFieldCallback)) -> ObjectClassPostcloseFieldCallback -> C_ObjectClassPostcloseFieldCallback Source #
ObjectClassPrecloseFieldCallback
type C_ObjectClassPrecloseFieldCallback = Ptr Object -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassPrecloseFieldCallback = Object -> IO () Source #
No description available in the introspection data.
dynamic_ObjectClassPrecloseFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassPrecloseFieldCallback -> a -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassPrecloseFieldCallback :: MonadIO m => ObjectClassPrecloseFieldCallback -> m (GClosure C_ObjectClassPrecloseFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassPrecloseFieldCallback :: C_ObjectClassPrecloseFieldCallback -> IO (FunPtr C_ObjectClassPrecloseFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassPrecloseFieldCallback
.
noObjectClassPrecloseFieldCallback :: Maybe ObjectClassPrecloseFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassPrecloseFieldCallback
wrap_ObjectClassPrecloseFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassPrecloseFieldCallback)) -> ObjectClassPrecloseFieldCallback -> C_ObjectClassPrecloseFieldCallback Source #
ObjectClassRewindFieldCallback
type C_ObjectClassRewindFieldCallback = Ptr Object -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassRewindFieldCallback = Object -> IO () Source #
No description available in the introspection data.
dynamic_ObjectClassRewindFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassRewindFieldCallback -> a -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassRewindFieldCallback :: MonadIO m => ObjectClassRewindFieldCallback -> m (GClosure C_ObjectClassRewindFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassRewindFieldCallback :: C_ObjectClassRewindFieldCallback -> IO (FunPtr C_ObjectClassRewindFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassRewindFieldCallback
.
noObjectClassRewindFieldCallback :: Maybe ObjectClassRewindFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassRewindFieldCallback
wrap_ObjectClassRewindFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassRewindFieldCallback)) -> ObjectClassRewindFieldCallback -> C_ObjectClassRewindFieldCallback Source #
Wrap a ObjectClassRewindFieldCallback
into a C_ObjectClassRewindFieldCallback
.
ObjectClassSanityFieldCallback
type C_ObjectClassSanityFieldCallback = Ptr Object -> Ptr Buf -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassSanityFieldCallback = Object -> Buf -> IO () Source #
No description available in the introspection data.
dynamic_ObjectClassSanityFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassSanityFieldCallback -> a -> Buf -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassSanityFieldCallback :: MonadIO m => ObjectClassSanityFieldCallback -> m (GClosure C_ObjectClassSanityFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassSanityFieldCallback :: C_ObjectClassSanityFieldCallback -> IO (FunPtr C_ObjectClassSanityFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassSanityFieldCallback
.
noObjectClassSanityFieldCallback :: Maybe ObjectClassSanityFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassSanityFieldCallback
wrap_ObjectClassSanityFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassSanityFieldCallback)) -> ObjectClassSanityFieldCallback -> C_ObjectClassSanityFieldCallback Source #
Wrap a ObjectClassSanityFieldCallback
into a C_ObjectClassSanityFieldCallback
.
ObjectClassSummaryClassFieldCallback
type C_ObjectClassSummaryClassFieldCallback = Ptr () -> Ptr Buf -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassSummaryClassFieldCallback = Ptr () -> Buf -> IO () Source #
No description available in the introspection data.
dynamic_ObjectClassSummaryClassFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ObjectClassSummaryClassFieldCallback -> Ptr () -> Buf -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassSummaryClassFieldCallback :: MonadIO m => ObjectClassSummaryClassFieldCallback -> m (GClosure C_ObjectClassSummaryClassFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassSummaryClassFieldCallback :: C_ObjectClassSummaryClassFieldCallback -> IO (FunPtr C_ObjectClassSummaryClassFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassSummaryClassFieldCallback
.
noObjectClassSummaryClassFieldCallback :: Maybe ObjectClassSummaryClassFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassSummaryClassFieldCallback
wrap_ObjectClassSummaryClassFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassSummaryClassFieldCallback)) -> ObjectClassSummaryClassFieldCallback -> C_ObjectClassSummaryClassFieldCallback Source #
ObjectClassSummaryFieldCallback
type C_ObjectClassSummaryFieldCallback = Ptr Object -> Ptr Buf -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassSummaryFieldCallback Source #
No description available in the introspection data.
dynamic_ObjectClassSummaryFieldCallback Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> FunPtr C_ObjectClassSummaryFieldCallback | |
-> a |
|
-> Buf |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassSummaryFieldCallback :: MonadIO m => ObjectClassSummaryFieldCallback -> m (GClosure C_ObjectClassSummaryFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassSummaryFieldCallback :: C_ObjectClassSummaryFieldCallback -> IO (FunPtr C_ObjectClassSummaryFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassSummaryFieldCallback
.
noObjectClassSummaryFieldCallback :: Maybe ObjectClassSummaryFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassSummaryFieldCallback
wrap_ObjectClassSummaryFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassSummaryFieldCallback)) -> ObjectClassSummaryFieldCallback -> C_ObjectClassSummaryFieldCallback Source #
Wrap a ObjectClassSummaryFieldCallback
into a C_ObjectClassSummaryFieldCallback
.
ObjectClassToStringFieldCallback
type C_ObjectClassToStringFieldCallback = Ptr Object -> Ptr Buf -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassToStringFieldCallback Source #
No description available in the introspection data.
dynamic_ObjectClassToStringFieldCallback Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> FunPtr C_ObjectClassToStringFieldCallback | |
-> a |
|
-> Buf |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassToStringFieldCallback :: MonadIO m => ObjectClassToStringFieldCallback -> m (GClosure C_ObjectClassToStringFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassToStringFieldCallback :: C_ObjectClassToStringFieldCallback -> IO (FunPtr C_ObjectClassToStringFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassToStringFieldCallback
.
noObjectClassToStringFieldCallback :: Maybe ObjectClassToStringFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassToStringFieldCallback
wrap_ObjectClassToStringFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassToStringFieldCallback)) -> ObjectClassToStringFieldCallback -> C_ObjectClassToStringFieldCallback Source #
ObjectSetArguments
type C_ObjectSetArguments = Ptr Object -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
type ObjectSetArguments = Object -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
type ObjectSetArguments_WithClosures = Object -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
drop_closures_ObjectSetArguments :: ObjectSetArguments -> ObjectSetArguments_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_ObjectSetArguments :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectSetArguments -> a -> Ptr () -> Ptr () -> m (Ptr ()) Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectSetArguments :: MonadIO m => ObjectSetArguments -> m (GClosure C_ObjectSetArguments) Source #
Wrap the callback into a GClosure
.
mk_ObjectSetArguments :: C_ObjectSetArguments -> IO (FunPtr C_ObjectSetArguments) Source #
Generate a function pointer callable from C code, from a C_ObjectSetArguments
.
noObjectSetArguments :: Maybe ObjectSetArguments Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectSetArguments
noObjectSetArguments_WithClosures :: Maybe ObjectSetArguments_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectSetArguments_WithClosures
wrap_ObjectSetArguments :: Maybe (Ptr (FunPtr C_ObjectSetArguments)) -> ObjectSetArguments_WithClosures -> C_ObjectSetArguments Source #
Wrap a ObjectSetArguments
into a C_ObjectSetArguments
.
OperationBuildFn
type C_OperationBuildFn = Ptr Object -> IO CInt Source #
Type for the callback on the (unwrapped) C side.
type OperationBuildFn = Object -> IO Bool Source #
No description available in the introspection data.
dynamic_OperationBuildFn :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_OperationBuildFn -> a -> m Bool Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_OperationBuildFn :: MonadIO m => OperationBuildFn -> m (GClosure C_OperationBuildFn) Source #
Wrap the callback into a GClosure
.
mk_OperationBuildFn :: C_OperationBuildFn -> IO (FunPtr C_OperationBuildFn) Source #
Generate a function pointer callable from C code, from a C_OperationBuildFn
.
noOperationBuildFn :: Maybe OperationBuildFn Source #
A convenience synonym for
.Nothing
:: Maybe
OperationBuildFn
wrap_OperationBuildFn :: Maybe (Ptr (FunPtr C_OperationBuildFn)) -> OperationBuildFn -> C_OperationBuildFn Source #
Wrap a OperationBuildFn
into a C_OperationBuildFn
.
SListFold2Fn
type C_SListFold2Fn = Ptr () -> Ptr () -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
type SListFold2Fn = Ptr () -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
type SListFold2Fn_WithClosures = Ptr () -> Ptr () -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
drop_closures_SListFold2Fn :: SListFold2Fn -> SListFold2Fn_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_SListFold2Fn :: (HasCallStack, MonadIO m) => FunPtr C_SListFold2Fn -> Ptr () -> Ptr () -> Ptr () -> Ptr () -> m (Ptr ()) Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_SListFold2Fn :: MonadIO m => SListFold2Fn -> m (GClosure C_SListFold2Fn) Source #
Wrap the callback into a GClosure
.
mk_SListFold2Fn :: C_SListFold2Fn -> IO (FunPtr C_SListFold2Fn) Source #
Generate a function pointer callable from C code, from a C_SListFold2Fn
.
noSListFold2Fn :: Maybe SListFold2Fn Source #
A convenience synonym for
.Nothing
:: Maybe
SListFold2Fn
noSListFold2Fn_WithClosures :: Maybe SListFold2Fn_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
SListFold2Fn_WithClosures
wrap_SListFold2Fn :: Maybe (Ptr (FunPtr C_SListFold2Fn)) -> SListFold2Fn_WithClosures -> C_SListFold2Fn Source #
Wrap a SListFold2Fn
into a C_SListFold2Fn
.
SListMap2Fn
type C_SListMap2Fn = Ptr () -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
type SListMap2Fn = Ptr () -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
type SListMap2Fn_WithClosures = Ptr () -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
drop_closures_SListMap2Fn :: SListMap2Fn -> SListMap2Fn_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_SListMap2Fn :: (HasCallStack, MonadIO m) => FunPtr C_SListMap2Fn -> Ptr () -> Ptr () -> Ptr () -> m (Ptr ()) Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_SListMap2Fn :: MonadIO m => SListMap2Fn -> m (GClosure C_SListMap2Fn) Source #
Wrap the callback into a GClosure
.
mk_SListMap2Fn :: C_SListMap2Fn -> IO (FunPtr C_SListMap2Fn) Source #
Generate a function pointer callable from C code, from a C_SListMap2Fn
.
noSListMap2Fn :: Maybe SListMap2Fn Source #
A convenience synonym for
.Nothing
:: Maybe
SListMap2Fn
noSListMap2Fn_WithClosures :: Maybe SListMap2Fn_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
SListMap2Fn_WithClosures
wrap_SListMap2Fn :: Maybe (Ptr (FunPtr C_SListMap2Fn)) -> SListMap2Fn_WithClosures -> C_SListMap2Fn Source #
Wrap a SListMap2Fn
into a C_SListMap2Fn
.
SListMap4Fn
type C_SListMap4Fn = Ptr () -> Ptr () -> Ptr () -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
type SListMap4Fn = Ptr () -> Ptr () -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
type SListMap4Fn_WithClosures = Ptr () -> Ptr () -> Ptr () -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
drop_closures_SListMap4Fn :: SListMap4Fn -> SListMap4Fn_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_SListMap4Fn :: (HasCallStack, MonadIO m) => FunPtr C_SListMap4Fn -> Ptr () -> Ptr () -> Ptr () -> Ptr () -> Ptr () -> m (Ptr ()) Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_SListMap4Fn :: MonadIO m => SListMap4Fn -> m (GClosure C_SListMap4Fn) Source #
Wrap the callback into a GClosure
.
mk_SListMap4Fn :: C_SListMap4Fn -> IO (FunPtr C_SListMap4Fn) Source #
Generate a function pointer callable from C code, from a C_SListMap4Fn
.
noSListMap4Fn :: Maybe SListMap4Fn Source #
A convenience synonym for
.Nothing
:: Maybe
SListMap4Fn
noSListMap4Fn_WithClosures :: Maybe SListMap4Fn_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
SListMap4Fn_WithClosures
wrap_SListMap4Fn :: Maybe (Ptr (FunPtr C_SListMap4Fn)) -> SListMap4Fn_WithClosures -> C_SListMap4Fn Source #
Wrap a SListMap4Fn
into a C_SListMap4Fn
.
StartFn
type C_StartFn = Ptr Image -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
Start a new processing sequence for this generate function. This allocates per-thread state, such as an input region.
See also: vips_start_one()
, vips_start_many()
.
type StartFn_WithClosures Source #
= Image |
|
-> Ptr () |
|
-> Ptr () |
|
-> IO (Ptr ()) | Returns: a new sequence value |
Start a new processing sequence for this generate function. This allocates per-thread state, such as an input region.
See also: vips_start_one()
, vips_start_many()
.
drop_closures_StartFn :: StartFn -> StartFn_WithClosures Source #
A simple wrapper that ignores the closure arguments.
:: (HasCallStack, MonadIO m, IsImage a) | |
=> FunPtr C_StartFn | |
-> a |
|
-> Ptr () |
|
-> Ptr () |
|
-> m (Ptr ()) | Returns: a new sequence value |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_StartFn :: MonadIO m => StartFn -> m (GClosure C_StartFn) Source #
Wrap the callback into a GClosure
.
mk_StartFn :: C_StartFn -> IO (FunPtr C_StartFn) Source #
Generate a function pointer callable from C code, from a C_StartFn
.
noStartFn_WithClosures :: Maybe StartFn_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
StartFn_WithClosures
wrap_StartFn :: Maybe (Ptr (FunPtr C_StartFn)) -> StartFn_WithClosures -> C_StartFn Source #
StopFn
type C_StopFn = Ptr () -> Ptr () -> Ptr () -> IO Int32 Source #
Type for the callback on the (unwrapped) C side.
Stop a processing sequence. This frees per-thread state, such as an input region.
See also: vips_stop_one()
, vips_stop_many()
.
type StopFn_WithClosures Source #
= Ptr () |
|
-> Ptr () |
|
-> Ptr () |
|
-> IO Int32 | Returns: 0 on success, -1 on error. |
Stop a processing sequence. This frees per-thread state, such as an input region.
See also: vips_stop_one()
, vips_stop_many()
.
drop_closures_StopFn :: StopFn -> StopFn_WithClosures Source #
A simple wrapper that ignores the closure arguments.
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_StopFn | |
-> Ptr () |
|
-> Ptr () |
|
-> Ptr () |
|
-> m Int32 | Returns: 0 on success, -1 on error. |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_StopFn :: MonadIO m => StopFn -> m (GClosure C_StopFn) Source #
Wrap the callback into a GClosure
.
mk_StopFn :: C_StopFn -> IO (FunPtr C_StopFn) Source #
Generate a function pointer callable from C code, from a C_StopFn
.
noStopFn_WithClosures :: Maybe StopFn_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
StopFn_WithClosures
wrap_StopFn :: Maybe (Ptr (FunPtr C_StopFn)) -> StopFn_WithClosures -> C_StopFn Source #
TypeMap2Fn
type C_TypeMap2Fn = CGType -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
type TypeMap2Fn = GType -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
type TypeMap2Fn_WithClosures = GType -> Ptr () -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
drop_closures_TypeMap2Fn :: TypeMap2Fn -> TypeMap2Fn_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_TypeMap2Fn :: (HasCallStack, MonadIO m) => FunPtr C_TypeMap2Fn -> GType -> Ptr () -> Ptr () -> m (Ptr ()) Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypeMap2Fn :: MonadIO m => TypeMap2Fn -> m (GClosure C_TypeMap2Fn) Source #
Wrap the callback into a GClosure
.
mk_TypeMap2Fn :: C_TypeMap2Fn -> IO (FunPtr C_TypeMap2Fn) Source #
Generate a function pointer callable from C code, from a C_TypeMap2Fn
.
noTypeMap2Fn :: Maybe TypeMap2Fn Source #
A convenience synonym for
.Nothing
:: Maybe
TypeMap2Fn
noTypeMap2Fn_WithClosures :: Maybe TypeMap2Fn_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
TypeMap2Fn_WithClosures
wrap_TypeMap2Fn :: Maybe (Ptr (FunPtr C_TypeMap2Fn)) -> TypeMap2Fn_WithClosures -> C_TypeMap2Fn Source #
Wrap a TypeMap2Fn
into a C_TypeMap2Fn
.
TypeMapFn
type C_TypeMapFn = CGType -> Ptr () -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
type TypeMapFn_WithClosures = GType -> Ptr () -> IO (Ptr ()) Source #
No description available in the introspection data.
drop_closures_TypeMapFn :: TypeMapFn -> TypeMapFn_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_TypeMapFn :: (HasCallStack, MonadIO m) => FunPtr C_TypeMapFn -> GType -> Ptr () -> m (Ptr ()) Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypeMapFn :: MonadIO m => TypeMapFn -> m (GClosure C_TypeMapFn) Source #
Wrap the callback into a GClosure
.
mk_TypeMapFn :: C_TypeMapFn -> IO (FunPtr C_TypeMapFn) Source #
Generate a function pointer callable from C code, from a C_TypeMapFn
.
noTypeMapFn_WithClosures :: Maybe TypeMapFn_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
TypeMapFn_WithClosures
wrap_TypeMapFn :: Maybe (Ptr (FunPtr C_TypeMapFn)) -> TypeMapFn_WithClosures -> C_TypeMapFn Source #
Wrap a TypeMapFn
into a C_TypeMapFn
.