wasm-micro-runtime/samples/wasm-c-api/src
Wenyong Huang 260d36a62d
Refactor externref related APIs of reference types feature (#971)
Currently when calling wasm_runtime_call_wasm() to invoke wasm function
with externref type argument from runtime embedder, developer needs to
use wasm_externref_obj2ref() to convert externref obj into an internal ref
index firstly, which is not convenient to developer.
To align with GC feature in which all the references passed to
wasm_runtime_call_wasm() can be object pointers directly, we change the
interface of wasm_runtime_call_wasm() to allow to pass object pointer
directly for the externref argument, and refactor the related codes, update
the related samples and the document.
2022-01-19 11:25:08 +08:00
..
utils Enable multi-module support for wasm-c-api (#426) 2020-10-16 17:43:57 +08:00
callback_chain.c Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
callback_chain.wat Add wasm-c-api nested function calls sample (#652) 2021-06-16 15:26:28 +08:00
callback.c Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
callback.wat Eable post-MVP feature wasm-c-api (#315) 2020-07-23 16:54:13 +08:00
empty_imports.c Allow empty import array for wasm-c-api wasm_instance_new (#782) 2021-10-12 16:06:38 +08:00
empty_imports.wat Allow empty import array for wasm-c-api wasm_instance_new (#782) 2021-10-12 16:06:38 +08:00
global.c Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
global.wat Eable post-MVP feature wasm-c-api (#315) 2020-07-23 16:54:13 +08:00
globalexportimport-1.wat Add wasm-c-api nested function calls sample (#652) 2021-06-16 15:26:28 +08:00
globalexportimport-0.wat Add wasm-c-api nested function calls sample (#652) 2021-06-16 15:26:28 +08:00
globalexportimport.c Update wasm_c_api to use vector types (#751) 2021-09-16 14:54:25 +08:00
hello.c Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
hello.wat Eable post-MVP feature wasm-c-api (#315) 2020-07-23 16:54:13 +08:00
hostref.c Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
hostref.wat Implement most missing wasm-c-api APIs (#303) (#676) 2021-07-28 21:53:37 +08:00
LICENSE Implement more wasm-c-apis and enable Envoy integration (#622) 2021-04-27 17:05:40 +08:00
memory.c Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
memory.wat Implement most missing wasm-c-api APIs (#303) (#676) 2021-07-28 21:53:37 +08:00
multi.c Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
multi.wat Implement more wasm-c-apis and enable Envoy integration (#622) 2021-04-27 17:05:40 +08:00
reflect.c Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
reflect.wat Implement more wasm-c-apis and enable Envoy integration (#622) 2021-04-27 17:05:40 +08:00
table.c Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
table.wat Implement most missing wasm-c-api APIs (#303) (#676) 2021-07-28 21:53:37 +08:00
trap.c Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
trap.wat Implement more wasm-c-apis and enable Envoy integration (#622) 2021-04-27 17:05:40 +08:00