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

Function WasmEdge_CallingFrameGetModuleInstance

lib/api/wasmedge.cpp:3110–3117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3108}
3109
3110WASMEDGE_CAPI_EXPORT const WasmEdge_ModuleInstanceContext *
3111WasmEdge_CallingFrameGetModuleInstance(
3112 const WasmEdge_CallingFrameContext *Cxt) noexcept {
3113 if (Cxt) {
3114 return toModCxt(fromCallFrameCxt(Cxt)->getModule());
3115 }
3116 return nullptr;
3117}
3118
3119WASMEDGE_CAPI_EXPORT WasmEdge_MemoryInstanceContext *
3120WasmEdge_CallingFrameGetMemoryInstance(const WasmEdge_CallingFrameContext *Cxt,

Callers 1

bodyMethod · 0.85

Calls 1

getModuleMethod · 0.45

Tested by

no test coverage detected