[wasm-api-list] Add TODO

This commit is contained in:
Behdad Esfahbod 2023-02-26 14:54:07 -07:00
parent f5a0bd223b
commit 7df9b3dd89
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ static void debugprint4 (HB_WASM_EXEC_ENV char *str, int32_t i1, int32_t i2, int
#define NATIVE_SYMBOL(signature, name) {#name, (void *) hb::wasm::name, signature, NULL} #define NATIVE_SYMBOL(signature, name) {#name, (void *) hb::wasm::name, signature, NULL}
/* Note: the array must be static defined since runtime will keep it after registration /* Note: the array must be static defined since runtime will keep it after registration
* https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/export_native_api.md */ * https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/export_native_api.md
*
* TODO Allocate this lazily in _hb_wasm_init(). */
static NativeSymbol _hb_wasm_native_symbols[] = static NativeSymbol _hb_wasm_native_symbols[] =
{ {
/* common */ /* common */