12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #include "semaphore.h"
- #include "core/error_macros.h"
- Semaphore *(*Semaphore::create_func)() = 0;
- Semaphore *Semaphore::create() {
- ERR_FAIL_COND_V(!create_func, 0);
- return create_func();
- }
- Semaphore::~Semaphore() {
- }
|