MCPcopy Create free account
hub / github.com/GoogleChrome/samples / updateMemoryViews

Function updateMemoryViews

mkbitmap/mkbitmap.js:420–430  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

418 HEAPF64;
419
420function updateMemoryViews() {
421 var b = wasmMemory.buffer;
422 Module['HEAP8'] = HEAP8 = new Int8Array(b);
423 Module['HEAP16'] = HEAP16 = new Int16Array(b);
424 Module['HEAP32'] = HEAP32 = new Int32Array(b);
425 Module['HEAPU8'] = HEAPU8 = new Uint8Array(b);
426 Module['HEAPU16'] = HEAPU16 = new Uint16Array(b);
427 Module['HEAPU32'] = HEAPU32 = new Uint32Array(b);
428 Module['HEAPF32'] = HEAPF32 = new Float32Array(b);
429 Module['HEAPF64'] = HEAPF64 = new Float64Array(b);
430}
431
432assert(!Module['STACK_SIZE'], 'STACK_SIZE can no longer be set at runtime. Use -sSTACK_SIZE at link time')
433

Callers 1

receiveInstanceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected