mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 09:27:39 +00:00
Renamed atomic functions to match SDL 3.0 naming convention
This will also allow us to cleanly add atomic operations for other types in the future.
This commit is contained in:
parent
f3e419596b
commit
8d223b3037
64 changed files with 496 additions and 472 deletions
|
@ -2907,12 +2907,37 @@ expression e1, e2, e3, e4;
|
|||
@@
|
||||
@@
|
||||
- SDL_AtomicCAS
|
||||
+ SDL_AtomicCompareAndSwap
|
||||
+ SDL_CompareAndSwapAtomicInt
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_AtomicSet
|
||||
+ SDL_SetAtomicInt
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_AtomicGet
|
||||
+ SDL_GetAtomicInt
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_AtomicAdd
|
||||
+ SDL_AddAtomicInt
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_AtomicCASPtr
|
||||
+ SDL_AtomicCompareAndSwapPointer
|
||||
+ SDL_CompareAndSwapAtomicPointer
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_AtomicSetPtr
|
||||
+ SDL_SetAtomicPointer
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_AtomicGetPtr
|
||||
+ SDL_GetAtomicPointer
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
|
@ -3586,16 +3611,6 @@ typedef SDL_JoystickGUID, SDL_GUID;
|
|||
+ SDL_HINT_MOUSE_EMULATE_WARP_WITH_RELATIVE
|
||||
@@
|
||||
@@
|
||||
- SDL_AtomicSetPtr
|
||||
+ SDL_AtomicSetPointer
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_AtomicGetPtr
|
||||
+ SDL_AtomicGetPointer
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_DelEventWatch
|
||||
+ SDL_RemoveEventWatch
|
||||
(...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue