Module Ctypes.Root
Registration of OCaml values as roots
val create : 'a -> unit ptrcreate vallocates storage for the address of the OCaml valuev, registers the storage as a root, and returns its address.
val get : unit ptr -> 'aget pretrieves the OCaml value whose address is stored atp.
val set : unit ptr -> 'a -> unitset p vupdates the OCaml value stored as a root atp.
val release : unit ptr -> unitrelease punregsiters the rootp.