|
libUEMF
A portable library for reading and writing WMF, EMF and EMF+ files
|
Macros | |
| #define | U_BYTE_SWAP 0 |
| byte swapping into metafile is not required | |
| #define | U_IS_BE 0 |
| this machine is not big endian | |
| #define | U_IS_LE 1 |
| this machine is little endian | |
| #define | U_XE 0 |
| do not rearrange endian for target | |
| #define | U_LE 1 |
| target is Little Endian | |
| #define | U_BE 2 |
| target is Big Endian | |
| #define | U_RP 4 |
| replicate first instance | |
| #define | U_XX 0xFF |
| may be used to terminate a list of these target entries | |
There is no way for the preprocessor, in general, to figure out endianness. So the command line must define WORDS_BIGENDIAN for a big endian machine. Otherwise we assume is is little endian. If it is something else this code won't work in any case.
1.8.5