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

Function WasmEdge_MemoryTypeGetLimit

lib/api/wasmedge.cpp:1527–1533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

TESTFunction · 0.85

Calls 1

fromMemTypeCxtFunction · 0.85

Tested by 1

TESTFunction · 0.68