wasm-micro-runtime/core/iwasm/include
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_export.h Fix typo (dwarf) in the codebase (#2367) 2023-07-19 17:58:52 +08:00
lib_export.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
wasm_c_api.h Improve wasm-c-api instantiation-time linking (#1902) 2023-02-13 15:06:04 +08:00
wasm_export.h Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00