CPtr¶
Import: import system;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
CPtr¶
An opaque C pointer (void*, T*). @c passes it by value; ref p: CPtr is a T** out-param and Option<CPtr> a nullable pointer.
constructor¶
Creates a CPtr with raw.
null¶
The NULL pointer.
is_null¶
True when this is NULL.
address¶
The pointer as an integer address.
offset¶
The pointer bytes bytes past this one.