ctypes

Combinators for binding to C libraries without writing any C
Library ctypes
type !_ prim =
| Char : char prim
| Schar : int prim
| Uchar : Unsigned.uchar prim
| Bool : bool prim
| Short : int prim
| Int : int prim
| Long : Signed.long prim
| Llong : Signed.llong prim
| Ushort : Unsigned.ushort prim
| Sint : Signed.sint prim
| Uint : Unsigned.uint prim
| Ulong : Unsigned.ulong prim
| Ullong : Unsigned.ullong prim
| Size_t : Unsigned.size_t prim
| Int8_t : int prim
| Int16_t : int prim
| Int32_t : int32 prim
| Int64_t : int64 prim
| Uint8_t : Unsigned.uint8 prim
| Uint16_t : Unsigned.uint16 prim
| Uint32_t : Unsigned.uint32 prim
| Uint64_t : Unsigned.uint64 prim
| Camlint : int prim
| Nativeint : nativeint prim
| Float : float prim
| Double : float prim
| LDouble : LDouble.t prim
| Complex32 : Complex.t prim
| Complex64 : Complex.t prim
| Complexld : ComplexL.t prim
type !_ ml_prim =
| ML_char : char ml_prim
| ML_complex : Complex.t ml_prim
| ML_complexld : ComplexL.t ml_prim
| ML_float : float ml_prim
| ML_ldouble : LDouble.t ml_prim
| ML_int : int ml_prim
| ML_int32 : int32 ml_prim
| ML_int64 : int64 ml_prim
| ML_llong : Signed.llong ml_prim
| ML_long : Signed.long ml_prim
| ML_sint : Signed.sint ml_prim
| ML_nativeint : nativeint ml_prim
| ML_size_t : Unsigned.size_t ml_prim
| ML_uchar : Unsigned.uchar ml_prim
| ML_bool : bool ml_prim
| ML_uint : Unsigned.uint ml_prim
| ML_uint16 : Unsigned.uint16 ml_prim
| ML_uint32 : Unsigned.uint32 ml_prim
| ML_uint64 : Unsigned.uint64 ml_prim
| ML_uint8 : Unsigned.uint8 ml_prim
| ML_ullong : Unsigned.ullong ml_prim
| ML_ulong : Unsigned.ulong ml_prim
| ML_ushort : Unsigned.ushort ml_prim
val ml_prim : 'a prim -> 'a ml_prim