libffi-0.2.1: A binding to libffi

Safe Haskell | Safe-Inferred
Language | Haskell2010

Foreign.LibFFI.Internal

Description

The internals of the C library libffi

# Documentation

data CValue Source #

data CType Source #

data CIF Source #

type C_ffi_status = Word32 Source #

type C_ffi_abi = Word32 Source #

ffi_default_abi :: C_ffi_abi Source #

ffi_ok :: C_ffi_status Source #

sizeOf_cif :: Int Source #

sizeOf_ffi_type :: Int Source #

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

ffi_type_size_and_alignment :: Ptr CType -> IO (CSize, CUShort) 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 #