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

Function WasmEdge_CallingFrameGetMemoryInstance

lib/api/wasmedge.cpp:3119–3126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3117}
3118
3119WASMEDGE_CAPI_EXPORT WasmEdge_MemoryInstanceContext *
3120WasmEdge_CallingFrameGetMemoryInstance(const WasmEdge_CallingFrameContext *Cxt,
3121 const uint32_t Idx) noexcept {
3122 if (Cxt) {
3123 return toMemCxt(fromCallFrameCxt(Cxt)->getMemoryByIndex(Idx));
3124 }
3125 return nullptr;
3126}
3127
3128// <<<<<<<< WasmEdge calling frame functions <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
3129

Callers

nothing calls this directly

Calls 1

getMemoryByIndexMethod · 0.80

Tested by

no test coverage detected