symbol<X extends RType> method
Resolves a global symbol exported by the WASM module and wraps its address as a WasmMemoryPointer.
name is the C symbol name without Emscripten's leading underscore.
_$name is looked up against the module's export table. X is a
marker only.
Use this for global variables/constants exported by the module.
Implementation
WasmMemoryPointer<X> symbol<X extends RType>(String name)
=> .new(_module.getGlobalAddress('_$name'));