Doxygen Documentation |
||||||
Package: |
PBI |
|||||
Version: |
V0-0-3 |
Marked: |
(not marked) |
|||
Constituent: |
test_endianness |
Tag: |
mv2304 |
This graph shows which files directly or indirectly include this file:
Defines | |
#define | ENDIANNESS_K_UNKNOWN 0 |
Value of ENDIANNESS the endianness of the target is undefined. | |
#define | ENDIANNESS_K_LITTLE 1 |
Value of ENDIANNESS if the target is a little endian machine. | |
#define | ENDIANNESS_K_BIG 2 |
Value of ENDIANNESS if the target is a big endian machine machine. | |
#define | ENDIANNESS ENDIANNESS_K_UNKNOWN |
ENDINANESS assumes one of the values,
| |
#define | ENDIANNESS_IS_LITTLE ENDIANNESS_K_UNKNOWN |
Defined and set to a non-zero value, ENDIANNESS_K_LITTLE, if the target is a little endian machine. | |
#define | ENDIANNESS_IS_BIG ENDIANNESS_K_UNKNOWN |
Defined and set to a non-zero value, ENDIANNESS_BIG, if the target is a big endian machine. |
CVS $Id: Endianness.h,v 1.2 2003/08/20 17:02:39 russell Exp $
#if ENDIANNESS_IS_LITTLE / * Do little endian kind of things * / #elif ENDIANNESS_IS_BIG / * Do big endian kind of things * / #else #error _FILE_ Endianness not determined in this file #endif
#if ENDIANESS_IS_LITTLE / * Do little endian kind of things * / #else / * Do big endian kind of things * / #endif
|
ENDINANESS assumes one of the values,
if defined (ENDIANNESS) && (ENDIANNESS == ENDIANNESS_K_LITTLE) { . . } elif defined (ENDIANNESS) && (ENDIANNESS == ENDIANNESS_K_BIG) { . . } else { . / * Endianness unknown * / }
|