MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / add

Method add

tests/runtime/resources/leaf.rs:29–31  ·  view source on GitHub ↗
(y: Y, a: i32)

Source from the content-addressed store, hash-verified

27 }
28
29 fn add(y: Y, a: i32) -> Y {
30 Y::new(MyY::new(y.get::<MyY>().0.get() + a))
31 }
32}

Callers 11

emit_custom_sectionMethod · 0.45
dropMethod · 0.45
startMethod · 0.45
ptr_resultsMethod · 0.45
newMethod · 0.45
abi_ptr_and_lenMethod · 0.45
advanceMethod · 0.45
take_vecMethod · 0.45
in_progress_updateMethod · 0.45
finishMethod · 0.45
objectFunction · 0.45

Calls 2

newFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected