MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / __print_fallback

Function __print_fallback

core/string/print_string.cpp:47–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45static thread_local bool is_printing = false;
46
47static 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
51void add_print_handler(PrintHandlerList *p_handler) {
52 _global_lock();

Callers 4

__print_lineFunction · 0.85
__print_line_richFunction · 0.85
print_rawFunction · 0.85
print_errorFunction · 0.85

Calls 2

get_dataMethod · 0.45
utf8Method · 0.45

Tested by

no test coverage detected