diff options
| author | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
| commit | f8db8a3faa30b71dca33ced38be16d3f93f43e8a (patch) | |
| tree | 3b798318132cca7eccfbca5818ab55656a2896d7 /core/print_string.h | |
| parent | 1d418afe863c9e553b69174ce63aef203c46d2f0 (diff) | |
| download | godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.gz godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.zst godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.zip | |
Bring that Whole New World to the Old Continent too
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6e3e905b94b8764e99491e608122261.
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); |
