| 2934 | } |
| 2935 | |
| 2936 | WASMEDGE_CAPI_EXPORT uint64_t WasmEdge_MemoryInstanceGetPageSize( |
| 2937 | const WasmEdge_MemoryInstanceContext *Cxt) noexcept { |
| 2938 | if (Cxt) { |
| 2939 | return fromMemCxt(Cxt)->getPageSize(); |
| 2940 | } |
| 2941 | return 0; |
| 2942 | } |
| 2943 | |
| 2944 | WASMEDGE_CAPI_EXPORT WasmEdge_Result WasmEdge_MemoryInstanceGrowPage( |
| 2945 | WasmEdge_MemoryInstanceContext *Cxt, const uint64_t Page) noexcept { |