1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

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
5dbf1809c6.
This commit is contained in:
Rémi Verschelde
2017-03-19 00:36:26 +01:00
parent 1d418afe86
commit f8db8a3faa
1308 changed files with 147754 additions and 174357 deletions

View File

@@ -38,7 +38,7 @@ class MessageQueue {
enum {
DEFAULT_QUEUE_SIZE_KB=1024
DEFAULT_QUEUE_SIZE_KB = 1024
};
Mutex *mutex;
@@ -47,8 +47,8 @@ class MessageQueue {
TYPE_CALL,
TYPE_NOTIFICATION,
TYPE_SET,
FLAG_SHOW_ERROR=1<<14,
FLAG_MASK=FLAG_SHOW_ERROR-1
FLAG_SHOW_ERROR = 1 << 14,
FLAG_MASK = FLAG_SHOW_ERROR - 1
};
@@ -68,21 +68,21 @@ class MessageQueue {
uint32_t buffer_max_used;
uint32_t buffer_size;
void _call_function(Object* p_target,const StringName& p_func,const Variant *p_args,int p_argcount,bool p_show_error);
void _call_function(Object *p_target, const StringName &p_func, const Variant *p_args, int p_argcount, bool p_show_error);
static MessageQueue *singleton;
public:
public:
static MessageQueue *get_singleton();
Error push_call(ObjectID p_id,const StringName& p_method,const Variant** p_args,int p_argcount,bool p_show_error=false);
Error push_call(ObjectID p_id, const StringName& p_method, VARIANT_ARG_LIST);
Error push_call(ObjectID p_id, const StringName &p_method, const Variant **p_args, int p_argcount, bool p_show_error = false);
Error push_call(ObjectID p_id, const StringName &p_method, VARIANT_ARG_LIST);
Error push_notification(ObjectID p_id, int p_notification);
Error push_set(ObjectID p_id, const StringName& p_prop, const Variant& p_value);
Error push_set(ObjectID p_id, const StringName &p_prop, const Variant &p_value);
Error push_call(Object *p_object, const StringName& p_method, VARIANT_ARG_LIST);
Error push_call(Object *p_object, const StringName &p_method, VARIANT_ARG_LIST);
Error push_notification(Object *p_object, int p_notification);
Error push_set(Object *p_object, const StringName& p_prop, const Variant& p_value);
Error push_set(Object *p_object, const StringName &p_prop, const Variant &p_value);
bool print();
void statistics();