wasmi_c_api

Function wasmi_engine_clone

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

Clones a wasm_engine_t.

The cloned wasm_engine_t has to be freed with wasm_engine_delete after use.

Wraps wasmi::Engine::clone.