Module gear_runtime_interface::gear_ri
source · Expand description
Runtime interface for gear node and runtime. Note: name is expanded as gear_ri
Structs§
- Provides implementations for the extern host functions.
Functions§
- Init lazy-pages. Returns whether initialization was successful.
- Init lazy pages context for current program. Panic if some goes wrong during initialization.
- Mprotect all wasm mem buffer except released pages. If
protect
argument is true then restrict all accesses to pages, else allows read and write accesses.