scopedAllocPtr

Allocates a pointer and set is to 0. Must be called in a scoped allocation scope.


fun WasmMemory.scopedAllocPtr(howMany: UInt): ReadonlyArray<WasmPointer>(source)

Allocates howMany pointers as a single chunk of memory and zeroes them out. Must be called in a scoped allocation scope.