1 Commits
Author SHA1 Message Date
Nathan Rajlich 8f3fe3bd1d Allow for retrieval of "memory" type import / export name (#449)
* Store the memory export name

When the memory export is defined in the WASM module,
store the name of the export so that it can be read by
the application.

This is necessary for implementing the JavaScript
`WebAssembly.Module.exports()` function.

* Store the memory import name

When the memory import is defined in the WASM module,
store the name of the import so that it can be read by
the application.

This is necessary for implementing the JavaScript
`WebAssembly.Module.imports()` function.

* Store the table0 export name

When the table export is defined in the WASM module,
store the name of the export so that it can be read by
the application.

This is necessary for implementing the JavaScript
`WebAssembly.Module.exports()` function.
2023-12-18 03:27:24 +02:00