
#ifndef _TYPE_DEF_
#define _TYPE_DEF_


/* This type MUST be 8 bit */
typedef unsigned char	BYTE;

/* These types MUST be 16 bit */
typedef short			SHORT;
typedef unsigned short	WORD;
typedef unsigned short	WCHAR;

/* These types MUST be 16 bit or 32 bit */
typedef int				INT;
typedef unsigned int	UINT;

/* These types MUST be 32 bit */
typedef long			LONG;
typedef unsigned long	DWORD;

/************************************************************/
/* Type Definitions                                         */
/************************************************************/

typedef unsigned char       uint8;
typedef unsigned short      uint16;
typedef unsigned int        uint32;

typedef signed char         Int8;
typedef signed short        Int16;
typedef signed int          Int32;

typedef unsigned int        Uint8_least;
typedef unsigned int        Uint16_least;
typedef unsigned int        Uint32_least;

typedef signed int          Int8_least;
typedef signed int          Int16_least;
typedef signed int          Int32_least;

typedef float               Float32;
typedef double              Float64;

#endif
