wasm_global_get

Function wasm_global_get 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn wasm_global_get( g: &mut wasm_global_t, out: &mut MaybeUninit<wasm_val_t>, )
Expand description

Returns the current value of the wasm_global_t.

Wraps Global::get.

§Safety

It is the caller’s responsibility not to alias the wasm_global_t with its underlying, internal WasmStoreRef.