Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-02-01 23:13:21
Size: 895
Editor: SheenaSmith
Comment: create page - 2/1 changeset 5134
Revision 2 as of 2011-02-02 17:58:27
Size: 620
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 12: Line 11:
int SDL_AtomicIncRef(SDL_atomic_t* a) void SDL_AtomicIncRef(SDL_atomic_t* a)
Line 16: Line 15:
||'''a'''||^the [[SDL_atomic_t]] structure filled in with the variable^||

== 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.

<<Color2(green,Is this the correct RV?)>>
||'''a'''||a pointer to an [[SDL_atomic_t]] variable to be modified||

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

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryAtomic

None: SDL_AtomicIncRef (last edited 2011-02-02 17:58:27 by SheenaSmith)

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