mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-11 20:21:11 +00:00
wasm_export.h: Add comments on wasm_runtime_register_natives (#1580)
This commit is contained in:
parent
1c89a37899
commit
5a93f0d667
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user