wasm-micro-runtime/core
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
..
deps Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
iwasm Add memory instance support apis (#3786) 2024-09-14 10:31:13 +08:00
shared Fix compiler warnings (#3784) 2024-09-11 08:59:16 +08:00
config.h Add support for multi-memory proposal in classic interpreter (#3742) 2024-08-21 12:22:23 +08:00
version.h Update version to 2.1.2 and update release notes (#3718) 2024-08-20 12:00:39 +08:00