CPointerVarOf

Native
1.3
class CPointerVarOf<T : CPointer<*>> : CVariable
(source)

Types

Native
1.3

Companion

companion object Companion : Type

Constructors

Native
1.3

<init>

CPointerVarOf(rawPtr: NativePtr)

Extension Properties

Native
1.3

pointed

The code or data pointed by the value of this variable.

var <T : CPointed, P : CPointer<T>> CPointerVarOf<P>.pointed: T?
Native
1.3

ptr

Returns the pointer to this data or code.

val <T : CPointed> T.ptr: CPointer<T>
Native
1.3

rawPtr

Native
1.3

value

The value of this variable.

var <P : CPointer<*>> CPointerVarOf<P>.value: P?

Extension Functions

Native
1.3

getRawPointer

fun NativePointed.getRawPointer(): NativePtr
Native
1.3

readValue

fun <T : CVariable> CPointed.readValue(
    size: Long,
    align: Int
): CValue<T>
Native
1.3

readValues

fun <T : CVariable> CPointed.readValues(
    size: Int,
    align: Int
): CValues<T>
fun <T : CVariable> T.readValues(count: Int): CValues<T>