mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-11-03 17:24:34 +00:00 
			
		
		
		
	Updated the atomic API for SDL 3.0 naming conventions
Fixes https://github.com/libsdl-org/SDL/issues/7388
This commit is contained in:
		@@ -2884,3 +2884,28 @@ expression e1, e2, e3, e4;
 | 
			
		||||
- SDL_HapticRumbleStop
 | 
			
		||||
+ SDL_StopHapticRumble
 | 
			
		||||
  (...)
 | 
			
		||||
@@
 | 
			
		||||
@@
 | 
			
		||||
- SDL_AtomicTryLock
 | 
			
		||||
+ SDL_TryLockSpinlock
 | 
			
		||||
  (...)
 | 
			
		||||
@@
 | 
			
		||||
@@
 | 
			
		||||
- SDL_AtomicLock
 | 
			
		||||
+ SDL_LockSpinlock
 | 
			
		||||
  (...)
 | 
			
		||||
@@
 | 
			
		||||
@@
 | 
			
		||||
- SDL_AtomicUnlock
 | 
			
		||||
+ SDL_UnlockSpinlock
 | 
			
		||||
  (...)
 | 
			
		||||
@@
 | 
			
		||||
@@
 | 
			
		||||
- SDL_AtomicCAS
 | 
			
		||||
+ SDL_AtomicCompareAndSwap
 | 
			
		||||
  (...)
 | 
			
		||||
@@
 | 
			
		||||
@@
 | 
			
		||||
- SDL_AtomicCASPtr
 | 
			
		||||
+ SDL_AtomicCompareAndSwapPointer
 | 
			
		||||
  (...)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user