Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2011-02-01 22:12:45
Size: 859
Editor: SheenaSmith
Comment: minor change for consistency
Revision 3 as of 2011-02-01 22:22:17
Size: 891
Editor: SheenaSmith
Comment: minor change for consistency
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
||'''a'''||^the atomic variable to set^|| ||'''a'''||^the [[SDL_atomic_t]] structure filled in with the variable^||

DRAFT

SDL_AtomicSet

Use this function to set an atomic variable to a value.

Syntax

int SDL_AtomicSet(SDL_atomic_t* a,
                  int           v)

Function Parameters

a

the [[SDL_atomic_t]] structure filled in with the variable

v

the desired value

Return Value

Returns the previous value of the atomic variable on success, or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryAtomic

None: SDL_AtomicSet (last edited 2015-04-26 18:47:11 by PhilippWiesemann)

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