wasm-micro-runtime/core/iwasm/interpreter
YAMAMOTO Takashi 6c846acc59
Implement module instance context APIs (#2436)
Introduce module instance context APIs which can set one or more contexts created
by the embedder for a wasm module instance:
```C
    wasm_runtime_create_context_key
    wasm_runtime_destroy_context_key
    wasm_runtime_set_context
    wasm_runtime_set_context_spread
    wasm_runtime_get_context
```

And make libc-wasi use it and set wasi context as the first context bound to the wasm
module instance.

Also add samples.

Refer to https://github.com/bytecodealliance/wasm-micro-runtime/issues/2460.
2023-09-07 14:54:11 +08:00
..
iwasm_interp.cmake Implement wasm mini loader and refine footprint of loader and runtime (#276) 2020-06-08 11:19:09 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
wasm_interp_classic.c Introduce WASMModuleInstanceExtraCommon (#2429) 2023-08-08 09:35:29 +08:00
wasm_interp_fast.c Introduce WASMModuleInstanceExtraCommon (#2429) 2023-08-08 09:35:29 +08:00
wasm_interp.h Fix issue of restoring wasm operand stack (#1721) 2022-11-18 18:51:13 +08:00
wasm_loader.c Fix opcode overwrite issue in fast interp (#2476) 2023-08-17 19:49:35 +08:00
wasm_loader.h Fix build error when enable custom section without interpreter (#1229) 2022-06-15 18:14:39 +08:00
wasm_mini_loader.c Fix opcode overwrite issue in fast interp (#2476) 2023-08-17 19:49:35 +08:00
wasm_opcode.h Fix data races in atomic wait/notify and interp goto table (#1971) 2023-02-22 11:43:49 +08:00
wasm_runtime.c Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
wasm_runtime.h Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
wasm.h Fix some check issues on table operations (#2392) 2023-07-27 21:53:48 +08:00