cl_endian.h File Reference

#include "../api_core.h"

Go to the source code of this file.

Classes

class  CL_Endian
 Endianess management class. More...

Defines

#define SWAP_IF_BIG(i)   if (CL_Endian::is_system_big()) CL_Endian::swap(&i, sizeof(i))
#define SWAP_IF_LITTLE(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_ALOT(i, times)   if (!CL_Endian::is_system_big()) CL_Endian::swap(&i, sizeof(i), times)
#define IS_SYSTEM_64BIT()   CL_Endian::is_system_64bit()


Generated on Thu Dec 3 02:39:33 2009 for ClanLib by  doxygen 1.4.6