Files
Jake Teton-LandisandGitHub d7fe474321 Support providing and retrieving WebAssembly.Memory (#147)
* Add imported memory Emscripten flag

* WASM memory

* access WASM memory

* docs?

* Polyfill Symbol.dispose

* remove internal use of "using" because it caused an issue

* update lifetime docs

* test variant memory

* doc

* rebase
2024-01-24 21:51:55 +00:00

7 lines
154 B
JavaScript

/* eslint-disable no-undef */
quickjsEmscriptenInit.inits.push((extension) => {
extension["getWasmMemory"] = function () {
return wasmMemory
}
})