is there a way to pass a reference to a local UInt...
# kotlin-native
b
is there a way to pass a reference to a local UInt as a UIntVar, or do you have to use alloc to be able to pass such a pointer to a c function?
d
You're going to have to allocate sadly.
👍 1
You could also use a
UIntArray(1)
and pin it. Kotlin/Native will put it on the stack iirc.
👍 1