defineMemory method
Defines module.name as an existing memory.
The memory has to belong to the store that is used for instantiation.
Implementation
void defineMemory(
String module,
String name,
WasmStore store,
WasmMemory memory,
) => _defineExtern(module, name, store, memory);