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

Function WasmEdge_FunctionTypeGetParametersLength

lib/api/wasmedge.cpp:1424–1430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1422}
1423
1424WASMEDGE_CAPI_EXPORT uint32_t WasmEdge_FunctionTypeGetParametersLength(
1425 const WasmEdge_FunctionTypeContext *Cxt) noexcept {
1426 if (Cxt) {
1427 return static_cast<uint32_t>(fromFuncTypeCxt(Cxt)->getParamTypes().size());
1428 }
1429 return 0;
1430}
1431
1432WASMEDGE_CAPI_EXPORT uint32_t WasmEdge_FunctionTypeGetParameters(
1433 const WasmEdge_FunctionTypeContext *Cxt, WasmEdge_ValType *List,

Callers 1

TESTFunction · 0.85

Calls 2

getParamTypesMethod · 0.80
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.68