MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / global

Method global

crates/c-api/src/global.rs:26–31  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

24 }
25
26 fn global(&self) -> Global {
27 match self.ext.which {
28 Extern::Global(g) => g,
29 _ => unsafe { std::hint::unreachable_unchecked() },
30 }
31 }
32}
33
34#[unsafe(no_mangle)]

Callers 14

commandMethod · 0.80
_serializeMethod · 0.80
wasm_global_typeFunction · 0.80
wasm_global_getFunction · 0.80
wasm_global_setFunction · 0.80
build_raw_intrinsicsFunction · 0.80
instantiateMethod · 0.80
evaluateMethod · 0.80
get_globalMethod · 0.80
get_memoryMethod · 0.80
globalsMethod · 0.80
wasmMethod · 0.80

Calls 1

unreachable_uncheckedFunction · 0.85

Tested by

no test coverage detected