wasm-micro-runtime/core/iwasm
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
..
aot Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
common Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
compilation Fix a typo in is_win_platform (#2490) 2023-08-22 11:50:11 +08:00
doc Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00
fast-jit Fix some check issues on table operations (#2392) 2023-07-27 21:53:48 +08:00
include Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
interpreter Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
libraries Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00