(&mut self, address: &str, value: &str, ty: &Type)
| 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(); |
| 1638 | |
| 1639 | let mut f = FunctionBindgen::new( |
| 1640 | self, |
| 1641 | "", |
| 1642 | &FunctionKind::AsyncFreestanding, |
| 1643 | boxed, |
| 1644 | vec![], |
| 1645 | ParameterType::ABI, |
| 1646 | None, |
| 1647 | ); |
| 1648 | abi::lower_to_memory( |
| 1649 | f.interface_gen.resolve, |
| 1650 | &mut f, |
| 1651 | address.into(), |
| 1652 | value.into(), |
| 1653 | ty, |
| 1654 | ); |
| 1655 | |
| 1656 | f.src |
| 1657 | } |
| 1658 | } |
| 1659 | |
| 1660 | impl<'a> CoreInterfaceGenerator<'a> for InterfaceGenerator<'a> { |
no test coverage detected