mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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:
parent
1d418afe86
commit
f8db8a3faa
1308 changed files with 147754 additions and 174357 deletions
|
|
@ -30,24 +30,19 @@
|
|||
#include "error_macros.h"
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
|
||||
Mutex* (*Mutex::create_func)(bool)=0;
|
||||
Mutex *(*Mutex::create_func)(bool) = 0;
|
||||
|
||||
Mutex *Mutex::create(bool p_recursive) {
|
||||
|
||||
ERR_FAIL_COND_V( !create_func, 0 );
|
||||
ERR_FAIL_COND_V(!create_func, 0);
|
||||
|
||||
return create_func(p_recursive);
|
||||
}
|
||||
|
||||
|
||||
Mutex::~Mutex() {
|
||||
|
||||
|
||||
}
|
||||
|
||||
Mutex *_global_mutex=NULL;
|
||||
Mutex *_global_mutex = NULL;
|
||||
|
||||
void _global_lock() {
|
||||
|
||||
|
|
@ -59,4 +54,3 @@ void _global_unlock() {
|
|||
if (_global_mutex)
|
||||
_global_mutex->unlock();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue