| 1525 | } |
| 1526 | |
| 1527 | WASMEDGE_CAPI_EXPORT const WasmEdge_LimitContext * |
| 1528 | WasmEdge_MemoryTypeGetLimit(const WasmEdge_MemoryTypeContext *Cxt) noexcept { |
| 1529 | if (Cxt) { |
| 1530 | return toLimitCxt(&fromMemTypeCxt(Cxt)->getLimit()); |
| 1531 | } |
| 1532 | return nullptr; |
| 1533 | } |
| 1534 | |
| 1535 | WASMEDGE_CAPI_EXPORT void |
| 1536 | WasmEdge_MemoryTypeDelete(WasmEdge_MemoryTypeContext *Cxt) noexcept { |