MCPcopy Create free account
hub / github.com/Warzone2100/warzone2100 / printToDebugCallbacks

Function printToDebugCallbacks

lib/framework/debug.cpp:453–462  ·  view source on GitHub ↗

Send the given string to all debug callbacks. * * @param str The string to send to debug callbacks. */

Source from the content-addressed store, hash-verified

451 * @param str The string to send to debug callbacks.
452 */
453static void printToDebugCallbacks(const char *const str, code_part part)
454{
455 debug_callback *curCallback;
456
457 // Loop over all callbacks, invoking them with the given data string
458 for (curCallback = callbackRegistry; curCallback != nullptr; curCallback = curCallback->next)
459 {
460 curCallback->callback(&curCallback->data, str, part);
461 }
462}
463
464void _realObjTrace(int id, const char *function, const char *str, ...)
465{

Callers 3

_realObjTraceFunction · 0.85
_debugFromGfxCallbackFunction · 0.85
_debugFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected