SDL_AtomicIncRef

Use this function to increment an atomic variable used as a reference count.

Syntax

void SDL_AtomicIncRef(SDL_atomic_t* a)

Function Parameters

a

a pointer to an SDL_atomic_t variable to be modified

SDL_AtomicAdd
SDL_AtomicDecRef

CategoryAPI, CategoryAtomic