aboutsummaryrefslogtreecommitdiff
path: root/core/print_string.h
diff options
context:
space:
mode:
authorGeorge Marques2017-11-14 20:01:45 -0200
committerGeorge Marques2017-11-16 21:56:57 -0200
commit1d12470a78d31a054aefc7f7c9a863db24b09986 (patch)
treed020f85566491ff2975bf8084a8ad68f8b66d9ee /core/print_string.h
parentb44cb4e3b9b573a3cbbd6f71aff81e6c3465d84b (diff)
downloadgodot-1d12470a78d31a054aefc7f7c9a863db24b09986.tar.gz
godot-1d12470a78d31a054aefc7f7c9a863db24b09986.tar.zst
godot-1d12470a78d31a054aefc7f7c9a863db24b09986.zip
Diffstat (limited to 'core/print_string.h')
-rw-r--r--core/print_string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/print_string.h b/core/print_string.h
index 9f8420c31..6b68380b9 100644
--- a/core/print_string.h
+++ b/core/print_string.h
@@ -34,7 +34,7 @@
extern void (*_print_func)(String);
-typedef void (*PrintHandlerFunc)(void *, const String &p_string);
+typedef void (*PrintHandlerFunc)(void *, const String &p_string, bool p_error);
struct PrintHandlerList {
@@ -56,5 +56,6 @@ void remove_print_handler(PrintHandlerList *p_handler);
extern bool _print_line_enabled;
extern bool _print_error_enabled;
extern void print_line(String p_string);
+extern void print_error(String p_string);
#endif