Get a global export.
(&self, name: &str)
| 287 | |
| 288 | /// Get a global export. |
| 289 | pub fn global(&self, name: &str) -> Result<crate::Global> { |
| 290 | self.module().global(name) |
| 291 | } |
| 292 | |
| 293 | /// Set the value of a mutable global export. |
| 294 | pub fn global_set(&mut self, name: &str, value: WasmValue) -> Result<()> { |