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

Function wasmtime_linker_new

crates/c-api/src/linker.rs:19–23  ·  view source on GitHub ↗
(engine: &wasm_engine_t)

Source from the content-addressed store, hash-verified

17
18#[unsafe(no_mangle)]
19pub extern "C" fn wasmtime_linker_new(engine: &wasm_engine_t) -> Box<wasmtime_linker_t> {
20 Box::new(wasmtime_linker_t {
21 linker: Linker::new(&engine.engine),
22 })
23}
24
25#[unsafe(no_mangle)]
26pub extern "C" fn wasmtime_linker_clone(linker: &wasmtime_linker_t) -> Box<wasmtime_linker_t> {

Callers 4

mainFunction · 0.85
create_linkerFunction · 0.85
mainFunction · 0.85
LinkerMethod · 0.85

Calls 1

newFunction · 0.50

Tested by

no test coverage detected