|
|
| version 1.1, 2003/10/16 17:57:05 | version 1.3, 2003/11/28 08:01:32 |
|---|---|
| Line 32 enum { | Line 32 enum { |
| #endif | #endif |
| // Optimize Macros | |
| #ifndef REG8 | |
| #define REG8 BYTE | |
| #endif | |
| #ifndef REG16 | |
| #define REG16 UINT16 | |
| #endif | |
| #ifndef REG32 | |
| #define REG32 UINT32 | |
| #endif | |
| #ifndef LOW12 | |
| #define LOW12(a) ((a) & 0x0fff) | |
| #endif | |
| #ifndef LOW14 | |
| #define LOW14(a) ((a) & 0x3fff) | |
| #endif | |
| #ifndef LOW15 | |
| #define LOW15(a) ((a) & 0x7fff) | |
| #endif | |
| #ifndef LOW16 | |
| #define LOW16(a) ((UINT16)(a)) | |
| #endif | |
| #ifndef HIGH16 | |
| #define HIGH16(a) (((UINT32)(a)) >> 16) | |
| #endif | |
| #ifndef STRLITERAL | #ifndef STRLITERAL |
| #ifdef UNICODE | #ifdef UNICODE |
| #define STRLITERAL(string) _T(string) | #define STRLITERAL(string) _T(string) |
| Line 40 enum { | Line 68 enum { |
| #endif | #endif |
| #endif | #endif |
| #if !defined(RGB16) | |
| #define RGB16 UINT16 | |
| #endif | |
| #if !defined(RGB32) | #if !defined(RGB32) |
| #if defined(BYTESEX_LITTLE) | #if defined(BYTESEX_LITTLE) |
| typedef union { | typedef union { |