what is the kotlin equivalent of this `C` code? in...
# kotlin-native
a
what is the kotlin equivalent of this
C
code? in kotlin native?
Copy code
char buffer[128]

do_work(buffer)
j
Did you try to google it? 😉
a
I just found it with memscope + alloc, but somehow I am not getting it right
checking the link you sent me
👍 1
j
If you are getting errors, please share the code & the error
a
Will do. Let me try the placement approach first and see. Thanks for being eager to help
The link you sent seems to work, with nativeHeap placement. Thanks
👍 1