wasm-micro-runtime/core/iwasm/include
Benbuck Nason 926f662231
Add memory instance support apis (#3786)
Now that WAMR supports multiple memory instances, this PR adds some APIs
to access them in a standard way.

This involves moving some existing utility functions out from the
`WASM_ENABLE_MULTI_MODULE` blocks they were nested in, but multi-memory
and multi-module seem independent as far as I can tell so I assume that's okay.

APIs added:
```C
wasm_runtime_lookup_memory
wasm_runtime_get_default_memory
wasm_runtime_get_memory
wasm_memory_get_cur_page_count
wasm_memory_get_max_page_count
wasm_memory_get_bytes_per_page
wasm_memory_get_shared
wasm_memory_get_base_address
wasm_memory_enlarge
```
2024-09-14 10:31:13 +08:00
..
aot_comp_option.h Implement option for skipping function index in the callstack (#3785) 2024-09-11 16:08:37 +08:00
aot_export.h Expose more functions related to emitting AOT files (#3520) 2024-06-14 15:57:45 +08:00
gc_export.h Add WASM_V128 in wasm_valkind_enum (#3412) 2024-05-14 10:22:42 +08:00
lib_export.h Add necessary comments for doxygen (#3299) 2024-04-11 07:50:08 +08:00
wasm_c_api.h Add APIs into wasm_c_api.h to summary wasm function execution duration (#3639) 2024-07-23 16:34:47 +08:00
wasm_export.h Add memory instance support apis (#3786) 2024-09-14 10:31:13 +08:00