mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 23:15:16 +00:00
926f662231
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 ``` |
||
---|---|---|
.. | ||
arch | ||
debug | ||
aot_intrinsic.c | ||
aot_intrinsic.h | ||
aot_loader.c | ||
aot_perf_map.c | ||
aot_perf_map.h | ||
aot_reloc.h | ||
aot_runtime.c | ||
aot_runtime.h | ||
iwasm_aot.cmake | ||
SConscript |