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.23.0.tar.gz
sha256=cae47d815b27dd4c824a007f1145856044542fe2588d23a443ef4eefec360bf1
md5=b1af973ec9cf7867a63714e92df82f2a
doc/ctypes/Ctypes_static/index.html
Module Ctypes_staticSource
Source
type _ ocaml_type = | String : string ocaml_type| Bytes : bytes ocaml_type| FloatArray : float array ocaml_type
Source
type _ typ = | Void : unit typ| Primitive : 'a Ctypes_primitive_types.prim -> 'a typ| Pointer : 'a typ -> 'a ptr typ| Funptr : 'a fn -> 'a static_funptr typ| Struct : 'a structure_type -> 'a structure typ| Union : 'a union_type -> 'a union typ| Abstract : abstract_type -> 'a abstract typ| View : ('a, 'b) view -> 'a typ| Qualified : qualifier * 'a typ -> 'a typ| Array : 'a typ * int -> 'a carray typ| Bigarray : (_, 'a, _) Ctypes_bigarray.t -> 'a typ| OCaml : 'a ocaml_type -> 'a ocaml typ
Source
and (_, _) pointer = | CPointer : (Obj.t option, 'a typ) Ctypes_ptr.Fat.t -> ('a, [ `C ]) pointer| OCamlRef : int * 'a * 'a ocaml_type -> ('a, [ `OCaml ]) pointer
Source
and 'a static_funptr = | Static_funptr : (Obj.t option, 'a fn) Ctypes_ptr.Fat.t -> 'a static_funptr
Source
and ('a, 'b) 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;
}Source
and 'a structure_type = {tag : string;mutable spec : 'a structspec;mutable fields : 'a structure boxed_field list;
}Source
and 'a union_type = {utag : string;mutable uspec : structured_spec option;mutable ufields : 'a union boxed_field list;
}Source
type _ bigarray_class = | Genarray : < element : 'a ; layout : 'l ; dims : int array ; ba_repr : 'b ; bigarray : ('a, 'b, 'l) Bigarray_compat.Genarray.t ; carray : 'a carray > bigarray_class| Array1 : < element : 'a ; layout : 'l ; dims : int ; ba_repr : 'b ; bigarray : ('a, 'b, 'l) Bigarray_compat.Array1.t ; carray : 'a carray > bigarray_class| Array2 : < element : 'a ; layout : 'l ; dims : int * int ; ba_repr : 'b ; bigarray : ('a, 'b, 'l) Bigarray_compat.Array2.t ; carray : 'a carray carray > bigarray_class| Array3 : < element : 'a ; layout : 'l ; dims : int * int * int ; ba_repr : 'b ; bigarray : ('a, 'b, 'l) Bigarray_compat.Array3.t ; carray : 'a carray carray carray > bigarray_class
Source
val view :
?format_typ:((Format.formatter -> unit) -> Format.formatter -> unit) ->
?format:(Format.formatter -> 'b -> unit) ->
read:('a -> 'b) ->
write:('b -> 'a) ->
'a typ ->
'b typSource
val bigarray :
< ba_repr : 'c
; bigarray : 'd
; carray : 'e
; dims : 'b
; layout : Bigarray_compat.c_layout
; element : 'a >
bigarray_class ->
'b ->
('a, 'c) Bigarray_compat.kind ->
'd typSource
val fortran_bigarray :
< ba_repr : 'c
; bigarray : 'd
; carray : 'e
; dims : 'b
; layout : Bigarray_compat.fortran_layout
; element : 'a >
bigarray_class ->
'b ->
('a, 'c) Bigarray_compat.kind ->
'd typ sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>