alloc

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

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

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

Parameters

T - must not be abstract