#include <nitro/mi.h>#define MI_LEToH16(val) (val)
#define MI_BEToH16(val) MI_SwapEndian16(val)
#define MI_LEToH32(val) (val)
#define MI_BEToH32(val) MI_SwapEndian32(val)
val |
Represents the value whose endian is to be converted. Because this is a macro, evaluation is performed several times. |
Returns a value converted to the specified endian (u16 or u32)
This macro converts the specified value from the specified endian to the current environment. LE represents little endian, while BE represents big endian.
Because the Nintendo DS uses a little endian environment, this macro does nothing when LE is specified.
Note: Because this is a macro, arguments are evaluated several times.
MI_SwapEndian* MI_Load* MI_Store* MI_HTo*
04/05/2006 Initial version.
CONFIDENTIAL