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

Function WasmEdge_LimitGetMax

lib/api/wasmedge.cpp:1338–1344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1336}
1337
1338WASMEDGE_CAPI_EXPORT uint64_t
1339WasmEdge_LimitGetMax(const WasmEdge_LimitContext *Cxt) noexcept {
1340 if (Cxt) {
1341 return fromLimitCxt(Cxt)->getMax();
1342 }
1343 return 0;
1344}
1345
1346WASMEDGE_CAPI_EXPORT bool
1347WasmEdge_LimitHasMax(const WasmEdge_LimitContext *Cxt) noexcept {

Callers

nothing calls this directly

Calls 1

getMaxMethod · 0.80

Tested by

no test coverage detected