NativePointed

Native
1.3
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

Native
1.3

rawPtr

var rawPtr: NativePtr

Extension Properties

Native
1.3

rawPtr

Extension Functions

Native
1.3

getRawPointer

fun NativePointed.getRawPointer(): NativePtr
Native
1.3

reinterpret

Changes the interpretation of the pointed data or code.

fun <T : NativePointed> NativePointed.reinterpret(): T

Inheritors

Native
1.3

CPointed

C data or code.

abstract class CPointed : NativePointed