wasm-micro-runtime/core/shared/platform
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
..
alios Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
android Upgrade uvwasi to 1.42.0 and fix Android link issues (#938) 2022-01-06 18:25:37 +08:00
common Correct stack base calculation on Mac and NuttX (#963) 2022-01-17 20:45:55 +08:00
darwin Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
esp-idf ESP IDF fixes (#927) 2022-01-05 12:50:17 +08:00
include Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
linux Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
linux-sgx Fix sgx platform issues (#916) 2021-12-28 08:41:43 +08:00
nuttx Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
riot Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
rt-thread Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
vxworks Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
windows Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
zephyr Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
README.md re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00

This folder contains the platform abstract layer for multiple platforms. To support a new platform, you can simply create a new folder here and implement all the APIs defined in include folder.

Refer to port_wamr.md for how to port WAMR to a target platform.