Get the value of an atomic variable.
Defined in SDL_atomic.h, but apps should use #include <SDL3/SDL.h>
int SDL_AtomicGet(SDL_AtomicInt *a);
a | a pointer to an SDL_AtomicInt variable |
Returns the current value of an atomic variable.
Note: If you don't know what this function is for, you shouldn't use it!
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction, CategoryAtomic