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

Function WasmEdge_MemoryInstanceGetPageSize

lib/api/wasmedge.cpp:2936–2942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2934}
2935
2936WASMEDGE_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
2944WASMEDGE_CAPI_EXPORT WasmEdge_Result WasmEdge_MemoryInstanceGrowPage(
2945 WasmEdge_MemoryInstanceContext *Cxt, const uint64_t Page) noexcept {

Callers 1

TESTFunction · 0.85

Calls 1

getPageSizeMethod · 0.80

Tested by 1

TESTFunction · 0.68