I got a function that takes a char * as a param, Insted of using the .cstr everytime im using the function inside Kotlin, I just want to pass it in advance
o
olonho
07/12/2018, 8:45 AM
not sure what exactly you’re trying to achieve, but
aString.cstr.getPointer(arena)
will produce a C pointer with lifetime bound to certain arena