Add to an atomic variable.
This function also acts as a full memory barrier.
***Note: If you don't know what this function is for, you shouldn't use it!***
a pointer to an SDL_AtomicInt variable to be modified.
the desired value to add.
the previous value of the atomic variable.
SDL_AtomicDecRef SDL_AtomicIncRef
Threadsafety: It is safe to call this function from any thread.
See Implementation
Available since SDL 3.2.0.
Add to an atomic variable.
This function also acts as a full memory barrier.
***Note: If you don't know what this function is for, you shouldn't use it!***