-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Check bindings-common package for directions. -- -- Check bindings-common package for directions. @package bindings-libffi @version 0.0.2 -- | See http://sourceware.org/libffi. module Bindings.Libffi ffi_prep_cif :: Ptr Ffi_cif -> Ffi_abi -> CUInt -> Ptr Ffi_type -> Ptr (Ptr Ffi_type) -> IO Ffi_status ffi_call :: Ptr Ffi_cif -> FunPtr (IO ()) -> Ptr () -> Ptr (Ptr ()) -> IO () data Ffi_cif type Ffi_status = CInt _FFI_OK :: Ffi_status _FFI_BAD_TYPEDEF :: Ffi_status _FFI_BAD_ABI :: Ffi_status ffi_type_void :: Ptr Ffi_type ffi_type_uint8 :: Ptr Ffi_type ffi_type_sint8 :: Ptr Ffi_type ffi_type_uint16 :: Ptr Ffi_type ffi_type_sint16 :: Ptr Ffi_type ffi_type_uint32 :: Ptr Ffi_type ffi_type_sint32 :: Ptr Ffi_type ffi_type_uint64 :: Ptr Ffi_type ffi_type_sint64 :: Ptr Ffi_type ffi_type_float :: Ptr Ffi_type ffi_type_double :: Ptr Ffi_type ffi_type_uchar :: Ptr Ffi_type ffi_type_schar :: Ptr Ffi_type ffi_type_ushort :: Ptr Ffi_type ffi_type_sshort :: Ptr Ffi_type ffi_type_uint :: Ptr Ffi_type ffi_type_sint :: Ptr Ffi_type ffi_type_ulong :: Ptr Ffi_type ffi_type_slong :: Ptr Ffi_type ffi_type_pointer :: Ptr Ffi_type data Ffi_type type Ffi_abi = CInt _FFI_FIRST_ABI :: Ffi_abi _FFI_DEFAULT_ABI :: Ffi_abi _FFI_CLOSURES :: CInt ffi_closure_alloc :: CSize -> Ptr (Ptr ()) -> IO (Ptr ()) ffi_closure_free :: Ptr () -> IO () ffi_prep_closure_loc :: Ptr Ffi_closure -> Ptr Ffi_cif -> FunPtr (Ptr Ffi_cif -> Ptr () -> Ptr (Ptr ()) -> Ptr a -> IO ()) -> Ptr a -> Ptr () -> IO Ffi_status data Ffi_closure