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

Method num_rets

cranelift/codegen/src/machinst/abi.rs:1018–1020  ·  view source on GitHub ↗

Get the number of return values expected.

(&self, sig: Sig)

Source from the content-addressed store, hash-verified

1016
1017 /// Get the number of return values expected.
1018 pub fn num_rets(&self, sig: Sig) -> usize {
1019 self.rets(sig).len()
1020 }
1021}
1022
1023// NB: we do _not_ implement `IndexMut` because these signatures are

Callers 1

gen_call_retsMethod · 0.80

Calls 2

retsMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected