mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 15:32:05 +00:00
Update export_native_api.md
This commit is contained in:
parent
a325c6d3fe
commit
881b46cfc8
|
@ -76,6 +76,9 @@ if (!wasm_runtime_register_natives("env",
|
|||
goto fail1;
|
||||
}
|
||||
|
||||
// natives registeration must be done before loading WASM modules
|
||||
module = wasm_runtime_load(buffer, size, error_buf, sizeof(error_buf));
|
||||
|
||||
```
|
||||
|
||||
**Function signature**:
|
||||
|
|
Loading…
Reference in New Issue
Block a user