Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-02-01 22:21:32
Size: 803
Editor: SheenaSmith
Comment: create page - 2/1 changeset 5134
Revision 2 as of 2011-02-02 17:41:55
Size: 643
Editor: SheenaSmith
Comment: update content - w/ Sam; remove draft
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 16: Line 15:
||'''a'''||^the [[SDL_atomic_t]] structure to query^|| ||'''a'''||a pointer to an [[SDL_atomic_t]] variable to be modified||
Line 19: Line 18:
Returns the current value of the atomic variable on success, or a negative error code on failure; call [[SDL_GetError]]() for more information. Returns the current value of the atomic variable.
Line 30: Line 29:
 .[[SDL_AtomicGetPtr]]

SDL_AtomicGet

Use this function to get the value of an atomic variable.

Syntax

int SDL_AtomicGet(SDL_atomic_t* a)

Function Parameters

a

a pointer to an SDL_atomic_t variable to be modified

Return Value

Returns the current value of the atomic variable.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryAtomic

None: SDL_AtomicGet (last edited 2011-02-02 17:54:13 by SheenaSmith)

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