Explorar o código

doc/wasm_c_api.md: Mention relationship with wasm_export.h (#1159)

YAMAMOTO Takashi %!s(int64=3) %!d(string=hai) anos
pai
achega
362bd0cc5c
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      doc/wasm_c_api.md

+ 6 - 0
doc/wasm_c_api.md

@@ -1,5 +1,11 @@
 # wasm-c-api introduction
 # wasm-c-api introduction
 
 
+wasm-c-api is an engine-agnostic API to embed a WASM engine.
+In wasm-micro-runtime, it's provided by the header file `wasm_c_api.h`.
+Its functionalities are overlapping with `wasm_export.h`, which is
+a native API of wasm-micro-runtime. An embedder is supposed to pick
+one of these APIs, rather than mixing both of them.
+
 All samples come from the commit 340fd9528cc3b26d22fe30ee1628c8c3f2b8c53b
 All samples come from the commit 340fd9528cc3b26d22fe30ee1628c8c3f2b8c53b
 of [wasm-c-api](https://github.com/WebAssembly/wasm-c-api).
 of [wasm-c-api](https://github.com/WebAssembly/wasm-c-api).