CVariable

abstract class CVariable(rawPtr: NativePtr) : CPointed(source)

The C data variable located in memory.

The non-abstract subclasses should represent the (complete) C data type and thus specify size and alignment. Each such subclass must have a companion object which is a Type.

Since Kotlin

1.3

Inheritors

Constructors

Link copied to clipboard
constructor(rawPtr: NativePtr)

Types

Link copied to clipboard
open class Type(val size: Long, val align: Int)

The (complete) C data type.

Since Kotlin 1.3

Properties

Link copied to clipboard
Since Kotlin 1.3
Link copied to clipboard
Since Kotlin 1.3

Functions

Link copied to clipboard
Since Kotlin 1.3
Link copied to clipboard
fun <T : CVariable> CPointed.readValue(size: Long, align: Int): CValue<T>
Since Kotlin 1.3
Link copied to clipboard
fun <T : CVariable> CPointed.readValues(size: Int, align: Int): CValues<T>
Since Kotlin 1.3
Link copied to clipboard

Changes the interpretation of the pointed data or code.

Since Kotlin 1.3