package ctypes
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Combinators for binding to C libraries without writing any C
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.9.4.tar.gz
sha256=e14c2c3a23ec7e21f2079652c23c309cd7cfb9582ebc2975007a29c88ce6f80d
md5=3b023d198feee3c63783591a750ef1d1
doc/ctypes.stubs/Cstubs_internals/index.html
Module Cstubs_internals
type 'a fatptr = 'a Ctypes.typ Ctypes_ptr.Fat.ttype 'a fatfunptr = 'a Ctypes.fn Ctypes_ptr.Fat.tval make_structured :
('a, 's) Ctypes.structured Ctypes.typ ->
managed_buffer ->
('a, 's) Ctypes.structuredval make_ptr : 'a Ctypes.typ -> voidp -> 'a Ctypes.ptrval make_fun_ptr : 'a Ctypes.fn -> voidp -> 'a Ctypes_static.static_funptrval cptr : 'a Ctypes.ptr -> 'a Ctypes.typ Ctypes_ptr.Fat.tval fptr : 'a Ctypes_static.static_funptr -> 'a Ctypes.fn Ctypes_ptr.Fat.ttype 'a ocaml_type = 'a Ctypes_static.ocaml_type = | String : string ocaml_type| Bytes : Bytes.t ocaml_type| FloatArray : float array ocaml_type
type 'a typ = 'a Ctypes_static.typ = | Void : unit typ| Primitive : 'a Ctypes_primitive_types.prim -> 'a typ| Pointer : 'a typ -> 'a ptr typ| Funptr : 'a Ctypes.fn -> 'a static_funptr typ| Struct : 'a Ctypes_static.structure_type -> 'a Ctypes_static.structure typ| Union : 'a Ctypes_static.union_type -> 'a Ctypes_static.union typ| Abstract : Ctypes_static.abstract_type -> 'a Ctypes_static.abstract typ| View : ('a, 'b) view -> 'a typ| Array : 'a typ * int -> 'a Ctypes_static.carray typ| Bigarray : (_, 'a) Ctypes_bigarray.t -> 'a typ| OCaml : 'a ocaml_type -> 'a ocaml typ
and ('a, 'b) pointer = ('a, 'b) Ctypes_static.pointer = | CPointer : 'a typ Ctypes_ptr.Fat.t -> ('a, [ `C ]) pointer| OCamlRef : int * 'a * 'a ocaml_type -> ('a, [ `OCaml ]) pointer
and 'a ptr = ('a, [ `C ]) pointerand 'a ocaml = ('a, [ `OCaml ]) pointerand 'a static_funptr = 'a Ctypes_static.static_funptr = | Static_funptr of 'a Ctypes.fn Ctypes_ptr.Fat.t
and ('a, 'b) view = ('a, 'b) Ctypes_static.view = {read : 'b -> 'a;write : 'a -> 'b;format_typ : ((Format.formatter -> unit) -> Format.formatter -> unit) option;format : (Format.formatter -> 'a -> unit) option;ty : 'b typ;
}type 'a prim = 'a Ctypes_primitive_types.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| Complex32 : Complex.t prim| Complex64 : Complex.t prim
val build_enum_type :
string ->
Ctypes_static.arithmetic ->
?unexpected:(int64 -> 'a) ->
('a * int64) list ->
'a typ sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>