libffi-dynamic-0.0.0.2: LibFFI interface with dynamic bidirectional type-driven binding generation

Safe HaskellNone
LanguageHaskell98

Foreign.LibFFI.Dynamic.Closure

Documentation

newtype Closure Source #

Constructors

Closure (Ptr Closure) 

newtype Entry Source #

Constructors

Entry (FunPtr Entry) 
Instances
Eq Entry Source # 
Instance details

Defined in Foreign.LibFFI.Dynamic.Closure

Methods

(==) :: Entry -> Entry -> Bool #

(/=) :: Entry -> Entry -> Bool #

Ord Entry Source # 
Instance details

Defined in Foreign.LibFFI.Dynamic.Closure

Methods

compare :: Entry -> Entry -> Ordering #

(<) :: Entry -> Entry -> Bool #

(<=) :: Entry -> Entry -> Bool #

(>) :: Entry -> Entry -> Bool #

(>=) :: Entry -> Entry -> Bool #

max :: Entry -> Entry -> Entry #

min :: Entry -> Entry -> Entry #

Show Entry Source # 
Instance details

Defined in Foreign.LibFFI.Dynamic.Closure

Methods

showsPrec :: Int -> Entry -> ShowS #

show :: Entry -> String #

showList :: [Entry] -> ShowS #

Storable Entry Source # 
Instance details

Defined in Foreign.LibFFI.Dynamic.Closure

Methods

sizeOf :: Entry -> Int #

alignment :: Entry -> Int #

peekElemOff :: Ptr Entry -> Int -> IO Entry #

pokeElemOff :: Ptr Entry -> Int -> Entry -> IO () #

peekByteOff :: Ptr b -> Int -> IO Entry #

pokeByteOff :: Ptr b -> Int -> Entry -> IO () #

peek :: Ptr Entry -> IO Entry #

poke :: Ptr Entry -> Entry -> IO () #

type FFI_Impl t a = CIF t -> Ptr (SigReturn t) -> Ptr (Ptr ()) -> Ptr a -> IO () Source #