MCPcopy Create free account
hub / github.com/WheretIB/nullc / FillVariableInfo

Function FillVariableInfo

SuperCalc.cpp:1296–1323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1294}
1295
1296void FillVariableInfo(const ExternTypeInfo& type, char* ptr, HTREEITEM parent, bool update)
1297{
1298 if(&type == &codeTypes[8]) // typeid
1299 return;
1300 if(&type == &codeTypes[7])
1301 {
1302 FillAutoInfo(ptr, parent); // auto ref
1303 return;
1304 }
1305 if(&type == &codeTypes[10])
1306 {
1307 FillAutoArrayInfo(ptr, parent); // auto[]
1308 return;
1309 }
1310
1311 switch(type.subCat)
1312 {
1313 case ExternTypeInfo::CAT_FUNCTION:
1314 FillFunctionPointerInfo(type, ptr, parent);
1315 break;
1316 case ExternTypeInfo::CAT_CLASS:
1317 FillComplexVariableInfo(type, ptr, parent, update);
1318 break;
1319 case ExternTypeInfo::CAT_ARRAY:
1320 FillArrayVariableInfo(type, ptr, parent, update);
1321 break;
1322 }
1323}
1324
1325unsigned int FillVariableInfoTree(bool lastIsCurrent = false)
1326{

Callers 6

FillArrayVariableInfoFunction · 0.85
FillComplexVariableInfoFunction · 0.85
FillFunctionPointerInfoFunction · 0.85
FillVariableInfoTreeFunction · 0.85
UpdateWatchedVariablesFunction · 0.85
WndProcFunction · 0.85

Calls 5

FillAutoInfoFunction · 0.85
FillAutoArrayInfoFunction · 0.85
FillFunctionPointerInfoFunction · 0.85
FillComplexVariableInfoFunction · 0.85
FillArrayVariableInfoFunction · 0.85

Tested by

no test coverage detected