GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBI / V0-1-5 > test_unions / mv2304
Endianness.h | Provides definitions of the ENDIANNESS of the target machine. The symbols ENDIANNESS_IS_LITTLE and ENDIANNESS_IS_BIG should be used in preprocessing directives to determine the endianness of the machine, while the symbol ENDIANNESS can be more easily used in 'C' code |
test_unions.c | Unit test of the macros in PBI/Unions.h |
Unions.h | Defines a set of useful unions between long long, ints, shorts and chars (bytes) which allow one to access subfields in a consistent fashion across big and little endian machines |
Unions_big.h | Big endian implementation of Union.h |