"RawPointer" (Compiled Type)
represents a pointer to an object with type t, suitable for use with external libraries.
- ToRawPointer can be used to create a pointer object that is valid until the enclosing function returns.
- Dereferencing a pointer with FromRawPointer is an unsafe operation. Attempting to dereference an invalid pointer can lead to a crash.
Basic Examples (2)
Create a "RawPointer"::["MachineInteger"], then dereference it: