MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / unsafeGetGlobal

Method unsafeGetGlobal

include/runtime/instance/module.h:398–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396 return unsafeGetGlobal(Idx);
397 }
398 GlobalInstance *unsafeGetGlobal(uint32_t Idx) const noexcept {
399 return GlobInsts[Idx];
400 }
401 Expect<ElementInstance *> getElem(uint32_t Idx) const noexcept {
402 std::shared_lock Lock(Mutex);
403 if (Idx >= ElemInsts.size()) {

Callers 1

getGlobInstByIdxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected