https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
z

zt

12/11/2021, 6:07 AM
How can I alloc an array of Longs using allocArrayOf?
d

Dominaezzz

12/11/2021, 9:52 AM
Depending on what you want to use the array for it might be better to pin a
LongArray
instead.
To answer your question though,
allocArrayOf<LongVar>
should work.
7 Views