Is this document outdated: <https://kotlinlang.org...
# kotlin-native
k
Is this document outdated: https://kotlinlang.org/docs/tutorials/native/mapping-struct-union-types-from-c.html ? It seems like there is no
fun <reified T : kotlinx.cinterop.CVariable> alloc(): T
extension function for
kotlinx.cinterop.NativePlacement
without any arguments anymore or where am I supposed to import it from?
k
You are right. It just needs to be imported explicitly otherwise it is trying to use the non extension overloads
c
you can file a youtrack if you think that it does not work as axpected.