bootMemoryBackend function

void bootMemoryBackend()

Implementation

void bootMemoryBackend() {
  RType.nativeWordSize = WasmSize.IntPtr;
  MemoryPointer.fromAddress = _wasmFromAddress;
  MemoryPointer.fromBytes = _wasmFromBytes;
  MemoryPointer.fromString = _wasmFromString;
  MemoryPointer.nullptr = _wasmNullptrFactory;
  MemoryPointer.malloc = _wasmMalloc;
  MemoryPointer.calloc = _wasmCalloc;
}