wasmi_c_api

Function wasm_store_new

source
#[no_mangle]
pub extern "C" fn wasm_store_new(
    engine: &wasm_engine_t,
) -> Box<wasm_store_t>
Expand description

Creates a new Store<()> for the given engine.

The returned wasm_store_t must be freed using wasm_store_delete.

Wraps <wasmi::Store<()>>::new.