wasmi_c_api

Function wasm_engine_new

source
#[no_mangle]
pub extern "C" fn wasm_engine_new() -> Box<wasm_engine_t>
Expand description

Creates a new default initialized wasm_engine_t.

The returned wasm_engine_t must be freed using wasm_engine_delete.

Wraps wasmi::Engine::default.