Module Ctypes_helpers.Reachable_ptr
val typ : 'a Ctypes_static.typ -> 'a t Ctypes_static.typCtypes type.
val setf : ('b, 'c) Ctypes.structured -> ('a t, ('b, 'c) Ctypes.structured) Ctypes.field -> 'a Ctypes.ptr -> unitCombine
Ctypes.setfandcreate. The parent object is set to the structured value.
val getf : ('b, 'c) Ctypes.structured -> ('a t, ('b, 'c) Ctypes.structured) Ctypes.field -> 'a Ctypes.ptrCall
Ctypes.getfand unwrap the result.
val is_null : 'a t -> boolCall
Ctypes.is_nullon the underlying pointer