#ifndef	_IWTYPES_H_
#define	_IWTYPES_H_
/*
 * iwtypes.h: Standard interWAVE type definitions and fundamental defines.
 *
 * Bruce Nelson, interWAVE, 07/28/95.
 */

/* Size-significant types.  Use these for structure members, for example.
 */
typedef	unsigned char	u8;
typedef		 char	s8;
typedef	unsigned short	u16;
typedef		 short	s16;

typedef	unsigned int	u32;
typedef		 int	s32;

/* Efficiency-significant types: size may be 16 or 32 bits, depending on
 * compiler.  These are often best for local variables and expressions.
 * These types will be signed values.
 */
typedef		 int	num;	/* Number (for numerical calculations). */
typedef		 int	ix;	/* Index (for arrays, etc.). */

//#ifndef _T_BOOL
typedef		 int	bool;	/* Boolean: TRUE or FALSE. */
//#endif

// The classic TRUE and FALSE, for Boolean values.
 
#define	TRUE	1
#define true    1
#define	FALSE	0
#define false   0

// Nulls.  Note that pointers should be compared to NULLP, not NULL.
 
#define	NULL	0

#endif	/* _IWTYPES_H_ */
