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

Method deallocate_lists

crates/rust/src/interface.rs:776–786  ·  view source on GitHub ↗
(
        &mut self,
        types: &[Type],
        operands: &[String],
        indirect: bool,
        module: &str,
    )

Source from the content-addressed store, hash-verified

774 }
775
776 fn deallocate_lists(
777 &mut self,
778 types: &[Type],
779 operands: &[String],
780 indirect: bool,
781 module: &str,
782 ) -> String {
783 let mut f = FunctionBindgen::new(self, Vec::new(), module, true, false);
784 abi::deallocate_lists_in_types(f.r#gen.resolve, types, operands, indirect, &mut f);
785 format!("unsafe {{ {} }}", String::from(f.src))
786 }
787
788 fn deallocate_lists_and_own(
789 &mut self,

Callers 2

generate_payloadMethod · 0.45

Calls 2

newFunction · 0.85

Tested by

no test coverage detected