(&mut self, address: &str, ty: &Type)
| 1617 | } |
| 1618 | |
| 1619 | fn lift_from_memory(&mut self, address: &str, ty: &Type) -> (String, String) { |
| 1620 | let boxed: Box<[String]> = Vec::new().into_boxed_slice(); |
| 1621 | |
| 1622 | let mut f = FunctionBindgen::new( |
| 1623 | self, |
| 1624 | "", |
| 1625 | &FunctionKind::AsyncFreestanding, |
| 1626 | boxed, |
| 1627 | vec![], |
| 1628 | ParameterType::ABI, |
| 1629 | None, |
| 1630 | ); |
| 1631 | let result = abi::lift_from_memory(f.interface_gen.resolve, &mut f, address.into(), ty); |
| 1632 | |
| 1633 | (f.src, result) |
| 1634 | } |
| 1635 | |
| 1636 | fn lower_to_memory(&mut self, address: &str, value: &str, ty: &Type) -> String { |
| 1637 | let boxed: Box<[String]> = Vec::new().into_boxed_slice(); |
no test coverage detected