#include <Basics.H>Go to the source code of this file.
Defines | |
| #define | CHECK_SIZE(type, size) |
Functions | |
| int | main (void) |
|
|
Value: if(sizeof(type) != size) \ { \ cout << "Error: " #type " should be " #size " byte(s) but is " \ << sizeof(type) << endl; \ return 1; \ } \ (void) 0 Definition at line 32 of file TestSizes.C. Referenced by main(). |
|
|
Definition at line 44 of file TestSizes.C. References CHECK_SIZE, Basics::hton16(), Basics::hton32(), Basics::hton64(), Basics::ntoh16(), Basics::ntoh32(), and Basics::ntoh64(). |
1.4.2