Foreign.LibFFI.Internal

libffi-0.1: A binding to libffi

Safe Haskell | Safe
Language | Haskell98

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

ffi_default_abi :: C_ffi_abi

ffi_ok :: C_ffi_status

sizeOf_cif :: Int

sizeOf_ffi_type :: Int

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

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 ()