mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-29 21:17:17 +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;
|
goto fail1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// natives registeration must be done before loading WASM modules
|
||||||
|
module = wasm_runtime_load(buffer, size, error_buf, sizeof(error_buf));
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**Function signature**:
|
**Function signature**:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user