alloc

Native
1.3
fun <reified T : CVariable> NativePlacement.alloc(): T
(source)

Allocates variable of given type.

Parameters

T - must not be abstract

Native
1.3
inline fun <reified T : CVariable> NativePlacement.alloc(
    initialize: T.() -> Unit
): T

(source)

Allocates variable of given type and initializes it applying given block.

Parameters

T - must not be abstract

Native
1.3
fun <T : Boolean> NativePlacement.alloc(
    value: T
): BooleanVarOf<T>

(source)

Allocates variable with given value type and initializes it with given value.