package ctypes
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Combinators for binding to C libraries without writing any C
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.13.0.tar.gz
sha256=81f61e13b789b57b8055d4a22f0e41ae1309e0b9da86b0472bdb7bed0537f4f7
md5=fe066ce52fb44921314208c3e0ee6c53
doc/ctypes/Ctypes/Root/index.html
Module Ctypes.Root
Registration of OCaml values as roots
val create : 'a -> unit ptrcreate v allocates storage for the address of the OCaml value v, registers the storage as a root, and returns its address.
val get : unit ptr -> 'aget p retrieves the OCaml value whose address is stored at p.
val set : unit ptr -> 'a -> unitset p v updates the OCaml value stored as a root at p.
val release : unit ptr -> unitrelease p unregsiters the root p.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page