Native Placement
Functions
alloc
Link copied to clipboard
Inheritors
Extensions
alloc
Link copied to clipboard
alloc Array
Link copied to clipboard
inline fun <T : CVariable> NativePlacement.allocArray(length: Long): CArrayPointer<T>
Content copied to clipboard
inline fun <T : CVariable> NativePlacement.allocArray(length: Int): CArrayPointer<T>
Content copied to clipboard
Allocates C array of given elements type and length.
inline fun <T : CVariable> NativePlacement.allocArray(length: Long, initializer: T.(index: Long) -> Unit): CArrayPointer<T>
Content copied to clipboard
inline fun <T : CVariable> NativePlacement.allocArray(length: Int, initializer: T.(index: Int) -> Unit): CArrayPointer<T>
Content copied to clipboard
Allocates C array of given elements type and length, and initializes its elements applying given block.
alloc Array Of
Link copied to clipboard
inline fun <T : CPointer<*>> NativePlacement.allocArrayOf(vararg elements: T?): CArrayPointer<CPointerVarOf<T>>
Content copied to clipboard
inline fun <T : CPointer<*>> NativePlacement.allocArrayOf(elements: List<T?>): CArrayPointer<CPointerVarOf<T>>
Content copied to clipboard
Allocates C array of given values.
fun NativePlacement.allocArrayOf(elements: ByteArray): CArrayPointer<ByteVar>
Content copied to clipboard
fun NativePlacement.allocArrayOf(vararg elements: Float): CArrayPointer<FloatVar>
Content copied to clipboard
alloc Array Of Pointers To
Link copied to clipboard
fun <T : CPointed> NativePlacement.allocArrayOfPointersTo(elements: List<T?>): CArrayPointer<CPointerVar<T>>
Content copied to clipboard
fun <T : CPointed> NativePlacement.allocArrayOfPointersTo(vararg elements: T?): CPointer<CPointerVarOf<CPointer<T>>>
Content copied to clipboard
Allocates C array of pointers to given elements.
alloc Pointer To
Link copied to clipboard
fun <T : CPointed> NativePlacement.allocPointerTo(): CPointerVarOf<CPointer<T>>
Content copied to clipboard