W3cubDocs

/Kotlin

CPointed

Platform and version requirements: Native (1.3)
abstract class CPointed : NativePointed

C data or code.

Constructors

Platform and version requirements: Native (1.3)

<init>

C data or code.

CPointed(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

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>

Inheritors

Platform and version requirements: Native (1.3)

CFunction

The C function.

class CFunction<T : Function<*>> : CPointed
Platform and version requirements: Native (1.3)

COpaque

The CPointed without any specified interpretation.

abstract class COpaque : CPointed
Platform and version requirements: Native (1.3)

CVariable

The C data variable located in memory.

abstract class CVariable : CPointed

© 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/-c-pointed/index.html