NativePointed

open class NativePointed

The entity which has an associated native pointer. Subtypes are supposed to represent interpretations of the pointed data or code.

This interface is likely to be handled by compiler magic and shouldn't be subtyped by arbitrary classes.

TODO: the behavior of equals, hashCode and toString differs on Native and JVM backends.

Properties

rawPtr
Link copied to clipboard
var rawPtr: NativePtr

Inheritors

CPointed
Link copied to clipboard

Extensions

getRawPointer
Link copied to clipboard
external fun NativePointed.getRawPointer(): NativePtr
rawPtr
Link copied to clipboard
val NativePointed?.rawPtr: NativePtr
reinterpret
Link copied to clipboard
inline fun <T : NativePointed> NativePointed.reinterpret(): T

Changes the interpretation of the pointed data or code.