(&mut self, address: &str, ty: &Type, module: &str)
| 798 | } |
| 799 | |
| 800 | fn lift_from_memory(&mut self, address: &str, ty: &Type, module: &str) -> String { |
| 801 | let mut f = FunctionBindgen::new(self, Vec::new(), module, true, false); |
| 802 | let result = abi::lift_from_memory(f.r#gen.resolve, &mut f, address.into(), ty); |
| 803 | format!("unsafe {{ {}\n{result} }}", String::from(f.src)) |
| 804 | } |
| 805 | |
| 806 | fn generate_guest_import_body_sync( |
| 807 | &mut self, |
no test coverage detected