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

Function WasmEdge_GlobalTypeGetMutability

lib/api/wasmedge.cpp:1579–1585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1577}
1578
1579WASMEDGE_CAPI_EXPORT enum WasmEdge_Mutability WasmEdge_GlobalTypeGetMutability(
1580 const WasmEdge_GlobalTypeContext *Cxt) noexcept {
1581 if (Cxt) {
1582 return static_cast<WasmEdge_Mutability>(fromGlobTypeCxt(Cxt)->getValMut());
1583 }
1584 return WasmEdge_Mutability_Const;
1585}
1586
1587WASMEDGE_CAPI_EXPORT void
1588WasmEdge_GlobalTypeDelete(WasmEdge_GlobalTypeContext *Cxt) noexcept {

Callers 1

TESTFunction · 0.85

Calls 1

getValMutMethod · 0.45

Tested by 1

TESTFunction · 0.68