| 3645 | } |
| 3646 | |
| 3647 | WASMEDGE_CAPI_EXPORT WasmEdge_StoreContext * |
| 3648 | WasmEdge_VMGetStoreContext(WasmEdge_VMContext *Cxt) noexcept { |
| 3649 | if (Cxt) { |
| 3650 | return toStoreCxt(&Cxt->VM.getStoreManager()); |
| 3651 | } |
| 3652 | return nullptr; |
| 3653 | } |
| 3654 | |
| 3655 | WASMEDGE_CAPI_EXPORT WasmEdge_LoaderContext * |
| 3656 | WasmEdge_VMGetLoaderContext(WasmEdge_VMContext *Cxt) noexcept { |