W3cubDocs

/Kotlin

ObjCObjectVar

Platform and version requirements: Native (1.3)
class ObjCObjectVar<T> : CVariable

Types

Platform and version requirements: Native (1.3)

Companion

companion object Companion : Type

Constructors

Platform and version requirements: Native (1.3)

<init>

ObjCObjectVar(rawPtr: NativePtr)

Extension Properties

Platform and version requirements: Native (1.3)

ptr

Returns the pointer to this data or code.

val <T : CPointed> T.ptr: CPointer<T>
Platform and version requirements: Native (1.3)

rawPtr

val NativePointed?.rawPtr: NativePtr
Platform and version requirements: Native (1.3)

value

var <T> ObjCObjectVar<T>.value: T

Extension Functions

Platform and version requirements: Native (1.3)

getRawPointer

fun NativePointed.getRawPointer(): NativePtr
Platform and version requirements: Native (1.3)

readValue

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

readValues

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

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.cinterop/-obj-c-object-var/index.html