| 45 | static thread_local bool is_printing = false; |
| 46 | |
| 47 | static void __print_fallback(const String &p_string, bool p_err) { |
| 48 | fprintf(p_err ? stderr : stdout, "While attempting to print a message, another message was printed:\n%s\n", p_string.utf8().get_data()); |
| 49 | } |
| 50 | |
| 51 | void add_print_handler(PrintHandlerList *p_handler) { |
| 52 | _global_lock(); |
no test coverage detected