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

Method unsafeGetElem

include/runtime/instance/module.h:409–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407 return unsafeGetElem(Idx);
408 }
409 ElementInstance *unsafeGetElem(uint32_t Idx) const noexcept {
410 return ElemInsts[Idx];
411 }
412 Expect<DataInstance *> getData(uint32_t Idx) const noexcept {
413 std::shared_lock Lock(Mutex);
414 if (Idx >= DataInsts.size()) {

Callers 1

getElemInstByIdxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected