diff options
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 a13abd4e38..ddbe55f8ed 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); |