Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-08-26 06:12:54
Size: 636
Editor: SheenaSmith
Comment: minor change
Revision 3 as of 2013-08-07 21:59:35
Size: 655
Editor: Sam Lantinga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Use this function to swap byte order. Use this function to swap the byte order of a 32-bit value.
Line 16: Line 16:
||'''x'''||the data to be swapped|| ||'''x'''||the value to be swapped||
Line 19: Line 19:
Returns the swapped data.  ??? Returns the swapped value.

DRAFT

SDL_Swap32

Use this function to swap the byte order of a 32-bit value.

Syntax

Uint32 SDL_Swap32(Uint32 x)

Function Parameters

x

the value to be swapped

Return Value

Returns the swapped value.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryEndian

None: SDL_Swap32 (last edited 2013-08-07 21:59:48 by Sam Lantinga)

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