diff --git a/core/iwasm/include/wasm_export.h b/core/iwasm/include/wasm_export.h index bd10a2530..b08ebd88e 100644 --- a/core/iwasm/include/wasm_export.h +++ b/core/iwasm/include/wasm_export.h @@ -922,6 +922,12 @@ wasm_runtime_get_native_addr_range(wasm_module_inst_t module_inst, /** * Register native functions with same module name * + * Note: The array `native_symbols` should not be read-only because the + * library can modify it in-place. + * + * Note: After successful call of this function, the array `native_symbols` + * is owned by the library. + * * @param module_name the module name of the native functions * @param native_symbols specifies an array of NativeSymbol structures which * contain the names, function pointers and signatures