MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / PchFormatString

Function PchFormatString

express.cpp:2854–2867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2852// variable.
2853
2854char *PchFormatString(char *sz, int i)
2855{
2856 char *pch;
2857
2858 *sz = chNull;
2859 if (i >= 0 && i < xi.cparVar && !xi.rgparVar[i].fReal) {
2860 i = xi.rgparVar[i].n;
2861 if (i < xi.cszExpStr && FSzSet(xi.rgszExpStr[i]))
2862 sprintf(sz, "%s", xi.rgszExpStr[i]);
2863 }
2864 for (pch = sz; *pch; pch++)
2865 ;
2866 return pch;
2867}
2868
2869
2870// Program is about to exit, so free any AstroExpression related memory that

Callers 3

FormatSzFunction · 0.85
DrawSidebarFunction · 0.85
PrintSzFormatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected