Function wasm_extern_as_global_const

Source
#[unsafe(no_mangle)]
pub extern "C" fn wasm_extern_as_global_const(
    e: &wasm_extern_t,
) -> Option<&wasm_global_t>
Expand description

Returns the wasm_extern_t as reference to shared wasm_global_t if possible.

Returns None if e is not a wasm_global_t.