fun <reified T : CVariable> NativePlacement.alloc(): T
Allocates variable of given type.
T
- must not be abstract
inline fun <reified T : CVariable> NativePlacement.alloc( initialize: T.() -> Unit ): T
Allocates variable of given type and initializes it applying given block.
T
- must not be abstract
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.cinterop/alloc.html