ClanLib
2.3.7
|
#include "../api_core.h"
Go to the source code of this file.
Classes | |
class | CL_Endian |
Endianess management class. More... | |
Macros | |
#define | IS_SYSTEM_64BIT() CL_Endian::is_system_64bit() |
#define | SWAP_IF_BIG(i) if (CL_Endian::is_system_big()) CL_Endian::swap(&i, sizeof(i)) |
#define | SWAP_IF_BIG_ALOT(i, times) if (CL_Endian::is_system_big()) CL_Endian::swap(&i, sizeof(i), times) |
#define | SWAP_IF_LITTLE(i) if (!CL_Endian::is_system_big()) CL_Endian::swap(&i, sizeof(i)) |
#define | SWAP_IF_LITTLE_ALOT(i, times) if (!CL_Endian::is_system_big()) CL_Endian::swap(&i, sizeof(i), times) |