(&mut self, name: &str, shared: bool)
| 152 | } |
| 153 | |
| 154 | fn get_memory(&mut self, name: &str, shared: bool) -> Option<Vec<u8>> { |
| 155 | assert!(!shared); |
| 156 | Some( |
| 157 | self.instance |
| 158 | .get_export(&self.store, name) |
| 159 | .unwrap() |
| 160 | .into_memory() |
| 161 | .unwrap() |
| 162 | .data(&self.store) |
| 163 | .to_vec(), |
| 164 | ) |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | impl From<&DiffValue> for wasmi::Val { |
nothing calls this directly
no test coverage detected