|
⇤ ← Revision 1 as of 2011-02-01 22:21:32
Size: 803
Comment: create page - 2/1 changeset 5134
|
Size: 643
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.
Contents
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
