"OpaqueRawPointer" (Compiled Type)

"OpaqueRawPointer"

represents a pointer to data of unknown type, suitable for use with external libraries.

Details

  • "OpaqueRawPointer" is equivalent to void* in C.

Conversions

    "RawPointer"

  • Cast can be used to bitcast opaque pointers to and from other pointers.

Examples

Basic Examples  (1)

Use malloc from the C standard library to allocate memory, and cast the resulting opaque pointer to an integer: