MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / isServerNullParam

Method isServerNullParam

erpcgen/src/CGenerator.cpp:1321–1326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1319 symbolInfo["ilComment"] = symbol->getIlComment();
1320}
1321bool CGenerator::isServerNullParam(StructMember *param)
1322{
1323 DataType *paramTrueDataType = param->getDataType()->getTrueDataType();
1324 return (!paramTrueDataType->isScalar() && !paramTrueDataType->isEnum() && !paramTrueDataType->isArray() &&
1325 !paramTrueDataType->isFunction());
1326}
1327
1328bool CGenerator::isPointerParam(StructMember *param)
1329{

Callers

nothing calls this directly

Calls 6

getTrueDataTypeMethod · 0.80
isEnumMethod · 0.80
isArrayMethod · 0.80
isFunctionMethod · 0.80
getDataTypeMethod · 0.45
isScalarMethod · 0.45

Tested by

no test coverage detected