00001 /* 00002 * $Id: types.h,v 1.6 2002/12/02 20:19:12 dwalters Exp $ 00003 * 00004 * Copyright (C) 2001 Mike Panetta 00005 * 00006 * This library is distributed under the terms of the GNU Lesser General 00007 * Public License (LGPL). You should have received a copy of the 00008 * license along with this library (LGPL.txt); if not, write to 00009 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, 00010 * Boston, MA 02111-1307 USA 00011 * 00012 * This file contains a list of standard types to be used in 00013 * the library. Any new type that is added to the system 00014 * that is to be used in more than one part of the library 00015 * should be placed here, unless its specific to a particular 00016 * system. These types are specific to m68k based processors. 00017 * 00018 */ 00019 00029 #ifndef __TYPES_H 00030 #define __TYPES_H 00031 00032 /* Int types */ 00033 00034 typedef unsigned char uint8; 00035 typedef signed char int8; 00036 typedef unsigned short uint16; 00037 typedef signed short int16; 00038 typedef unsigned int uint32; 00039 typedef signed int int32; 00040 00041 /* Boolean types */ 00042 00043 #ifndef __cplusplus 00044 00045 typedef uint8 bool; 00046 00047 #endif 00048 00049 #define FALSE 0 00050 #define TRUE (!FALSE) 00051 00052 /* Other misc types. */ 00053 typedef void * address; 00054 00055 00056 #endif