Safe Haskell | None |
---|---|
Language | Haskell98 |
Foreign.LibFFI.Base
Description
This module defines the basic libffi machinery. You will need this to create support for new ffi types.
Documentation
mkStorableArg :: Storable a => Ptr CType -> a -> Arg
data RetType a
withRetType :: (a -> IO b) -> RetType a -> RetType b
mkStorableRetType :: Storable a => Ptr CType -> RetType a