Get the value of a global export by name.
(&self, store: &Store, name: &str)
| 565 | |
| 566 | /// Get the value of a global export by name. |
| 567 | pub fn global_get(&self, store: &Store, name: &str) -> Result<WasmValue> { |
| 568 | self.global(name)?.get(store) |
| 569 | } |
| 570 | |
| 571 | /// Get a global export by name. |
| 572 | pub fn global(&self, name: &str) -> Result<Global> { |