bindings-0.1: Low level bindings for foreign libraries following community driven guidelinesSource codeContentsIndex
Bindings.Utilities
Documentation
newtype Storable a => GlobalVar a Source
Constructors
GlobalVar (Ptr a)
class Callback f whereSource
Methods
makeCallback :: f -> IO (FunPtr f)Source
freeCallback :: FunPtr f -> IO ()Source
withCallback :: f -> (FunPtr f -> IO a) -> IO aSource
show/hide Instances
type CallbackMaker a = a -> IO (FunPtr a)Source
type CB0001 a = Ptr a -> CInt -> Ptr CString -> Ptr CString -> IO CIntSource
mkCB0001 :: CallbackMaker (CB0001 a)Source
type CB0002 = Ptr () -> Ptr () -> IO CIntSource
mkCB0002 :: CallbackMaker CB0002Source
type CB0003 a = Ptr a -> CInt -> IO CIntSource
mkCB0003 :: CallbackMaker (CB0003 a)Source
type CB0004 a b = Ptr a -> Ptr b -> CInt -> CString -> IO ()Source
mkCB0004 :: CallbackMaker (CB0004 a b)Source
type CB0005 a = Ptr a -> IO CIntSource
mkCB0005 :: CallbackMaker (CB0005 a)Source
type CB0006 a = Ptr a -> CInt -> CString -> CInt -> CString -> IO CIntSource
mkCB0006 :: CallbackMaker (CB0006 a)Source
type CB0007 a b = Ptr a -> CInt -> Ptr (Ptr b) -> IO ()Source
mkCB0007 :: CallbackMaker (CB0007 a b)Source
type CB0008 a = Ptr a -> IO ()Source
mkCB0008 :: CallbackMaker (CB0008 a)Source
type CB0009 a = Ptr a -> CInt -> CString -> CString -> CString -> CString -> IO CIntSource
mkCB0009 :: CallbackMaker (CB0009 a)Source
type CB000A a = Ptr a -> CInt -> CString -> CString -> Int64 -> IO ()Source
mkCB000A :: CallbackMaker (CB000A a)Source
type CB000B = CInt -> IO ()Source
mkCB000B :: CallbackMaker CB000BSource
type CB000C = IO ()Source
mkCB000C :: CallbackMaker CB000CSource
Produced by Haddock version 2.4.2