Send the given string to all debug callbacks. * * @param str The string to send to debug callbacks. */
| 451 | * @param str The string to send to debug callbacks. |
| 452 | */ |
| 453 | static 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 | |
| 464 | void _realObjTrace(int id, const char *function, const char *str, ...) |
| 465 | { |
no outgoing calls
no test coverage detected