MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / wasm_config_new

Function wasm_config_new

crates/c-api/src/config.rs:58–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56
57#[unsafe(no_mangle)]
58pub extern "C" fn wasm_config_new() -> Box<wasm_config_t> {
59 Box::new(wasm_config_t {
60 config: Config::default(),
61 })
62}
63
64#[unsafe(no_mangle)]
65pub extern "C" fn wasmtime_config_debug_info_set(c: &mut wasm_config_t, enable: bool) {

Callers 8

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
create_engineFunction · 0.85
mainFunction · 0.85
ConfigMethod · 0.85

Calls 1

newFunction · 0.50

Tested by

no test coverage detected