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