| 3117 | } |
| 3118 | |
| 3119 | WASMEDGE_CAPI_EXPORT WasmEdge_MemoryInstanceContext * |
| 3120 | WasmEdge_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 |
nothing calls this directly
no test coverage detected