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

Function wasm_module_imports

crates/c-api/src/module.rs:86–88  ·  view source on GitHub ↗
(module: &wasm_module_t, out: &mut wasm_importtype_vec_t)

Source from the content-addressed store, hash-verified

84
85#[unsafe(no_mangle)]
86pub extern "C" fn wasm_module_imports(module: &wasm_module_t, out: &mut wasm_importtype_vec_t) {
87 fill_imports(&module.module, out);
88}
89
90#[unsafe(no_mangle)]
91pub extern "C" fn wasm_module_share(module: &wasm_module_t) -> Box<wasm_shared_module_t> {

Callers

nothing calls this directly

Calls 1

fill_importsFunction · 0.85

Tested by

no test coverage detected