|
OpenTTD
|
Function to handling different endian machines. More...
Go to the source code of this file.
Macros | |
| #define | FROM_BE16(x) BSWAP16(x) |
| #define | FROM_BE32(x) BSWAP32(x) |
| #define | TO_BE16(x) BSWAP16(x) |
| #define | TO_BE32(x) BSWAP32(x) |
| #define | TO_BE32X(x) BSWAP32(x) |
| #define | FROM_LE16(x) (x) |
| #define | FROM_LE32(x) (x) |
| #define | TO_LE16(x) (x) |
| #define | TO_LE32(x) (x) |
| #define | TO_LE32X(x) (x) |
Functions | |
| static uint16 | ReadLE16Aligned (const void *x) |
| static uint16 | ReadLE16Unaligned (const void *x) |
Function to handling different endian machines.
Definition in file endian_func.hpp.
1.8.1.2