| SDL_AtomicIncRef(3) | SDL3 FUNCTIONS | SDL_AtomicIncRef(3) |
SDL_AtomicIncRef - Increment an atomic variable used as a reference count.
Defined in SDL3/SDL_atomic.h
#include "SDL3/SDL.h"
#define SDL_AtomicIncRef(a) SDL_AddAtomicInt(a, 1)
Note: If you don't know what this macro is for, you shouldn't use it!
Returns the previous value of the atomic variable.
It is safe to call this macro from any thread.
This macro is available since SDL 3.2.0.
•(3), SDL_AtomicDecRef(3)
| SDL 3.2.10 | Simple Directmedia Layer |