endian_func.hpp File Reference

#include "bitmath_func.hpp"
#include "endian_target.h"

Go to the source code of this file.

Defines

#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)


Detailed Description

Definition in file endian_func.hpp.


Generated on Mon Sep 22 20:34:21 2008 for openttd by  doxygen 1.5.6