Rename SDL semaphore and condition variable functions to match SDL 3.0 naming convention

Fixes https://github.com/libsdl-org/SDL/issues/7642
This commit is contained in:
Sam Lantinga committed 2023-04-28 12:08:33 -07:00
1 parent 170c410d35
commit 61c0c009ab
45 files changed
+458 -362

No files matched your search

+55
View File
@@ -2538,3 +2538,58 @@ typedef SDL_atomic_t, SDL_AtomicInt;
@@
- SDL_atomic_t
+ SDL_AtomicInt
@@
@@
- SDL_SemWait
+ SDL_WaitSemaphore
(...)
@@
@@
- SDL_SemTryWait
+ SDL_TryWaitSemaphore
(...)
@@
@@
- SDL_SemWaitTimeout
+ SDL_WaitSemaphoreTimeout
(...)
@@
@@
- SDL_SemPost
+ SDL_PostSemaphore
(...)
@@
@@
- SDL_SemValue
+ SDL_GetSemaphoreValue
(...)
@@
@@
- SDL_CreateCond
+ SDL_CreateCondition
(...)
@@
@@
- SDL_DestroyCond
+ SDL_DestroyCondition
(...)
@@
@@
- SDL_CondSignal
+ SDL_SignalCondition
(...)
@@
@@
- SDL_CondBroadcast
+ SDL_BroadcastCondition
(...)
@@
@@
- SDL_CondWait
+ SDL_WaitCondition
(...)
@@
@@
- SDL_CondWaitTimeout
+ SDL_WaitConditionTimeout
(...)