diff options
| author | Rémi Verschelde | 2017-03-05 16:44:50 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-05 16:44:50 +0100 |
| commit | 5dbf1809c6e3e905b94b8764e99491e608122261 (patch) | |
| tree | 5e5a5360db15d86d59ec8c6e4f7eb511388c5a9a /core/print_string.h | |
| parent | 45438e9918d421b244bfd7776a30e67dc7f2d3e3 (diff) | |
| download | godot-5dbf1809c6e3e905b94b8764e99491e608122261.tar.gz godot-5dbf1809c6e3e905b94b8764e99491e608122261.tar.zst godot-5dbf1809c6e3e905b94b8764e99491e608122261.zip | |
Diffstat (limited to 'core/print_string.h')
| -rw-r--r-- | core/print_string.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/core/print_string.h b/core/print_string.h index a13abd4e3..ddbe55f8e 100644 --- a/core/print_string.h +++ b/core/print_string.h @@ -33,21 +33,22 @@ extern void (*_print_func)(String); - -typedef void (*PrintHandlerFunc)(void*,const String& p_string); +typedef void (*PrintHandlerFunc)(void *, const String &p_string); struct PrintHandlerList { PrintHandlerFunc printfunc; void *userdata; - PrintHandlerList*next; + PrintHandlerList *next; - PrintHandlerList() { printfunc=0; next=0; userdata=0; } + PrintHandlerList() { + printfunc = 0; + next = 0; + userdata = 0; + } }; - - void add_print_handler(PrintHandlerList *p_handler); void remove_print_handler(PrintHandlerList *p_handler); |
