MCPcopy Create free account
hub / github.com/bluejekyll/wasmtime-java / push

Method push

wasmtime-jni/src/ty/str.rs:40–43  ·  view source on GitHub ↗
(dst: &mut Vec<ValType>)

Source from the content-addressed store, hash-verified

38 }
39
40 fn push(dst: &mut Vec<ValType>) {
41 dst.push(ValType::I32); // offset into memory
42 dst.push(ValType::I32); // length
43 }
44
45 fn matches(mut tys: impl Iterator<Item = ValType>) -> anyhow::Result<()> {
46 // offset

Calls

no outgoing calls

Tested by

no test coverage detected