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

Method lift_from_memory

crates/moonbit/src/async_support.rs:498–503  ·  view source on GitHub ↗
(&mut self, address: &str, ty: &Type, _module: &str)

Source from the content-addressed store, hash-verified

496 }
497
498 fn lift_from_memory(&mut self, address: &str, ty: &Type, _module: &str) -> (String, String) {
499 let mut f = FunctionBindgen::new(self, Box::new([]));
500
501 let result = abi::lift_from_memory(f.interface_gen.resolve, &mut f, address.into(), ty);
502 (f.src, result)
503 }
504
505 fn lower_to_memory(&mut self, address: &str, value: &str, ty: &Type, _module: &str) -> String {
506 let mut f = FunctionBindgen::new(self, Box::new([]));

Calls 2

newFunction · 0.85
lift_from_memoryFunction · 0.85

Tested by

no test coverage detected