Endianness information
[Macros and data types commonly used]

Defines


Define Documentation

#define MGUI_BIG_ENDIAN   4321

Big endianness.

Definition at line 206 of file common.h.

#define MGUI_BYTEORDER   MGUI_LIL_ENDIAN

The byte order (endianness) of the target system.

This macro will be either defined to MGUI_LIL_ENDIAN or MGUI_BIG_ENDIAN. You can use the code like below

 #if MGUI_BYTEORDER == MGUI_LIL_ENDIAN
     ... // code for little endian system.
 #else
     ... // code for big endian system.
 #endif

to write endianness independent code.

Definition at line 238 of file common.h.

#define MGUI_LIL_ENDIAN   1234

Little endianness.

Definition at line 201 of file common.h.

Generated on Thu Apr 7 15:58:34 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3