Use this function to decrement an atomic variable used as a reference count.
<syntaxhighlight lang="c++"> SDL_bool SDL_AtomicDecRef(SDL_atomic_t* a) </syntaxhighlight>
a | a pointer to an SDL_atomic_t variable to be modified |
Returns SDL_TRUE if the variable reached zero after decrementing, SDL_FALSE otherwise.
CategoryAPI, CategoryAtomic