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/event_queue.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/event_queue.h')
| -rw-r--r-- | core/event_queue.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/core/event_queue.h b/core/event_queue.h index d15ff81bc..8e35445b6 100644 --- a/core/event_queue.h +++ b/core/event_queue.h @@ -37,7 +37,7 @@ class EventQueue { enum { - DEFAULT_EVENT_QUEUE_SIZE_KB=256 + DEFAULT_EVENT_QUEUE_SIZE_KB = 256 }; struct Event { @@ -47,20 +47,17 @@ class EventQueue { int args; }; - uint8_t *event_buffer; uint32_t buffer_end; uint32_t buffer_max_used; uint32_t buffer_size; -public: - - Error push_call(uint32_t p_instance_ID, const StringName& p_method, VARIANT_ARG_LIST); +public: + Error push_call(uint32_t p_instance_ID, const StringName &p_method, VARIANT_ARG_LIST); void flush_events(); - EventQueue(uint32_t p_buffer_size=DEFAULT_EVENT_QUEUE_SIZE_KB*1024); + EventQueue(uint32_t p_buffer_size = DEFAULT_EVENT_QUEUE_SIZE_KB * 1024); ~EventQueue(); - }; #endif |
