libffi-0.2.1: A binding to libffi
Safe HaskellSafe-Inferred
LanguageHaskell2010

Foreign.LibFFI.Internal

Description

The internals of the C library libffi

Documentation

data CValue #

data CType #

data CIF #

type C_ffi_status = Word32 #

type C_ffi_abi = Word32 #

sizeOf_cif :: Int #

init_ffi_type :: Ptr CType -> Ptr (Ptr CType) -> IO () #

ffi_type_size_and_alignment :: Ptr CType -> IO (CSize, CUShort) #

ffi_prep_cif :: Ptr CIF -> C_ffi_abi -> CUInt -> Ptr CType -> Ptr (Ptr CType) -> IO C_ffi_status #

ffi_call :: Ptr CIF -> FunPtr a -> Ptr CValue -> Ptr (Ptr CValue) -> IO () #