package ctypes
Combinators for binding to C libraries without writing any C
Install
Dune Dependency
Authors
Maintainers
Sources
0.22.0.tar.gz
sha256=aa797c5d6bcaee8883aece2d1d9a524fc1f63c78c1538b0fe69969c0e989419f
md5=8a301a3e3b79156448a6659859ad506c
doc/ctypes.stubs/Cstubs_inverted/index.html
Module Cstubs_inverted
Source
Operations for exposing OCaml code as C libraries.
write_c fmt ~prefix bindings
generates C stubs for the functions bound with internal
in bindings
. The stubs are intended to be used in conjunction with the ML code generated by write_ml
.
The generated code uses definitions exposed in the header file cstubs_internals.h
.
write_c_header fmt ~prefix bindings
generates a C header file for the functions bound with internal
in bindings
. The stubs are intended to be used in conjunction with the C code generated by write_c
.
write_ml fmt ~prefix bindings
generates ML bindings for the functions bound with internal
in bindings
. The generated code conforms to the INTERNAL
interface.
The generated code uses definitions exposed in the module Cstubs_internals
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>