abstract class CValues<T : CVariable> : CValuesRef<T>
The (possibly empty) sequence of immutable C values. It is self-contained and doesn't depend on native memory.
The (possibly empty) sequence of immutable C values. It is self-contained and doesn't depend on native memory.
CValues()
abstract val align: Int
abstract val size: Int
Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:
open fun equals(other: Any?): Boolean
Copies the values to placement and returns the pointer to the copy.
open fun getPointer(scope: AutofreeScope): CPointer<T>
Returns a hash code value for the object. The general contract of hashCode
is:
open fun hashCode(): Int
fun <T : CVariable> CValues<T>.getBytes(): ByteArray
fun <T : CVariable> CValues<T>.placeTo( scope: AutofreeScope ): CPointer<T>
The single immutable C value. It is self-contained and doesn't depend on native memory.
abstract class CValue<T : CVariable> : 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/-c-values/index.html