Wiki Page Content

SDL_AtomicDecRef

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

Syntax

SDL_bool SDL_AtomicDecRef(SDL_atomic_t* a)

Function Parameters

a

a pointer to an SDL_atomic_t variable to be modified

Return Value

Returns SDL_TRUE if the variable reached zero after decrementing, SDL_FALSE otherwise.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryAtomic

None: SDL_AtomicDecRef (last edited 2011-02-02 17:40:55 by SheenaSmith)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit