(g: &mut wasm_global_t, out: &mut MaybeUninit<wasm_val_t>)
| 66 | |
| 67 | #[unsafe(no_mangle)] |
| 68 | pub unsafe extern "C" fn wasm_global_get(g: &mut wasm_global_t, out: &mut MaybeUninit<wasm_val_t>) { |
| 69 | let global = g.global(); |
| 70 | crate::initialize( |
| 71 | out, |
| 72 | wasm_val_t::from_val(global.get(g.ext.store.context_mut())), |
| 73 | ); |
| 74 | } |
| 75 | |
| 76 | #[unsafe(no_mangle)] |
| 77 | pub unsafe extern "C" fn wasm_global_set(g: &mut wasm_global_t, val: &wasm_val_t) { |
nothing calls this directly
no test coverage detected