vbsteven
04/16/2023, 3:15 PMallocBox(nativeHeap.kotlinx.cinterop.alloc<,,,>().ptrvbsteven
04/16/2023, 3:17 PMpublic fun allocateHeap(): Box =
                Box(nativeHeap.kotlinx.cinterop.alloc<graphene_box_t>().ptr)<Alt>Enterpublic fun allocateHeap(): Box =
                Box(nativeHeap.alloc<graphene_box_t>().ptr)ephemient
04/16/2023, 3:25 PMYou just need to make sure the member can be imported without simple name collisions, otherwise importing will fail and the code generator output will not pass compilation.
vbsteven
04/16/2023, 3:25 PMallocMemberNameephemient
04/16/2023, 3:26 PMallocvbsteven
04/16/2023, 3:28 PM