alloc

Allocates variable of given type.

Since Kotlin

1.3

Parameters

T

must not be abstract


inline fun <T : CVariable> NativePlacement.alloc(initialize: T.() -> Unit): T(source)

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

Since Kotlin

1.3

Parameters

T

must not be abstract