libffi-0.1: A binding to libffi
Safe HaskellSafe-Inferred
LanguageHaskell98

Foreign.LibFFI.Internal

Description

The internals of the C library libffi

Documentation

data CIF Source #

type C_ffi_status = Word32 Source #

type C_ffi_abi = Word32 Source #

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

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

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