wasm_config_new

Function wasm_config_new 

Source
#[unsafe(no_mangle)]
pub extern "C" fn wasm_config_new() -> Box<wasm_config_t>
Expand description

Creates a new default initialized wasm_config_t.

The returned wasm_config_t must be freed using wasm_config_delete or consumed by wasm_engine_new_with_config.

Wraps wasmi::Config::default.