Function sdl2_sys::SDL_AtomicGet
source · pub unsafe extern "C" fn SDL_AtomicGet(a: *mut SDL_atomic_t) -> c_int
Expand description
Get the value of an atomic variable.
Note: If you don’t know what this function is for, you shouldn’t use it!
\param a a pointer to an SDL_atomic_t variable \returns the current value of an atomic variable.
\since This function is available since SDL 2.0.2.
\sa SDL_AtomicSet