Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Endianness information
[Macros and data types commonly used]

Defines


Define Documentation

#define MGUI_BIG_ENDIAN   4321
 

Big endianness.

Definition at line 197 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 229 of file common.h.

#define MGUI_LIL_ENDIAN   1234
 

Little endianness.

Definition at line 192 of file common.h.


Generated on Mon Jun 26 14:21:36 2006 for MiniGUI V2.0.3 API Reference by  doxygen 1.4.2