MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / debugPrintfVargs

Function debugPrintfVargs

Source/3rdParty/bx/src/debug.cpp:164–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 }
163
164 void debugPrintfVargs(const char* _format, va_list _argList)
165 {
166 char temp[8192];
167 char* out = temp;
168 int32_t len = vsnprintf(out, sizeof(temp), _format, _argList);
169 if ( (int32_t)sizeof(temp) < len)
170 {
171 out = (char*)BX_STACK_ALLOC(len+1);
172 len = vsnprintf(out, len, _format, _argList);
173 }
174 out[len] = '\0';
175 debugOutput(out);
176 }
177
178 void debugPrintf(const char* _format, ...)
179 {

Callers 3

traceFunction · 0.85
debugPrintfFunction · 0.85
debugPrintfDataFunction · 0.85

Calls 2

debugOutputFunction · 0.85
vsnprintfFunction · 0.70

Tested by

no test coverage detected