wasmi_c_api

Function wasm_engine_new_with_config

source
#[no_mangle]
pub extern "C" fn wasm_engine_new_with_config(
    config: Box<wasm_config_t>,
) -> Box<wasm_engine_t>
Expand description

Creates a new wasm_engine_t initialized with a wasm_config_t.

The returned wasm_engine_t must be freed using wasm_engine_delete.

Wraps wasmi::Engine::new.