wasmi_c_api

Function wasmi_store_new

source
#[no_mangle]
pub extern "C" fn wasmi_store_new(
    engine: &wasm_engine_t,
    data: *mut c_void,
    finalizer: Option<extern "C" fn(_: *mut c_void)>,
) -> Box<wasmi_store_t>
Expand description

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

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