/Users/hercules/trunk/SDL/include/SDL_endian.h File Reference
#include "SDL_stdinc.h"
#include "begin_code.h"
#include "close_code.h"
Go to the source code of this file.
|
Defines |
#define | SDL_LIL_ENDIAN 1234 |
#define | SDL_BIG_ENDIAN 4321 |
#define | SDL_SwapLE16(X) (X) |
#define | SDL_SwapLE32(X) (X) |
#define | SDL_SwapLE64(X) (X) |
#define | SDL_SwapFloatLE(X) (X) |
#define | SDL_SwapBE16(X) SDL_Swap16(X) |
#define | SDL_SwapBE32(X) SDL_Swap32(X) |
#define | SDL_SwapBE64(X) SDL_Swap64(X) |
#define | SDL_SwapFloatBE(X) SDL_SwapFloat(X) |
Detailed Description
Functions for reading and writing endian-specific values