From 7df9b3dd892abfcb31be072ae47193cb0482b51e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 26 Feb 2023 14:54:07 -0700 Subject: [PATCH] [wasm-api-list] Add TODO --- src/hb-wasm-api-list.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hb-wasm-api-list.hh b/src/hb-wasm-api-list.hh index 2f0ede178..58fb18e28 100644 --- a/src/hb-wasm-api-list.hh +++ b/src/hb-wasm-api-list.hh @@ -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} /* 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[] = { /* common */