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

Function Add

tests/runtime/resources/resources.go:11–13  ·  view source on GitHub ↗
(a *Z, b *Z)

Source from the content-addressed store, hash-verified

9)
10
11func Add(a *Z, b *Z) *Z {
12 return MakeZ(a.a + b.a)
13}
14
15func Consume(x *X) {
16 x.Drop()

Callers 1

TestImportsMethod · 0.85

Calls 1

MakeZFunction · 0.85

Tested by 1

TestImportsMethod · 0.68