Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

mytypes.h

Go to the documentation of this file.
00001 //
00002 // mytypes.h,v 1.1.1.1 1996/12/30 22:49:03 ms Exp
00003 //
00004 
00005 #ifndef __MYTYPES_H
00006   #define __MYTYPES_H
00007 
00008 
00009 // A ``bool'' type for compilers that don't yet support one.
00010 // Please verify this.
00011 #if defined(__BORLANDC__) && (__BORLANDC__ < 0x500)
00012   typedef char bool;
00013 
00014   #ifdef true
00015     #undef true
00016   #endif
00017   #define true 1
00018 
00019   #ifdef false
00020     #undef false
00021   #endif
00022   #define false 0
00023 #endif
00024 
00025 
00026 #ifdef TRUE
00027   #undef TRUE
00028 #endif
00029 #define TRUE 1
00030 
00031 #ifdef FALSE
00032   #undef FALSE
00033 #endif
00034 #define FALSE 0
00035 
00036 
00037 // Wanted: 8-bit signed/unsigned.
00038 typedef signed char sbyte;
00039 typedef unsigned char ubyte;
00040 
00041 // Wanted: 16-bit signed/unsigned.
00042 typedef signed short int sword;
00043 typedef unsigned short int uword;
00044 
00045 // Wanted: 32-bit signed/unsigned.
00046 typedef signed long int sdword;
00047 typedef unsigned long int udword;
00048 
00049 
00050 // Some common type shortcuts.
00051 typedef unsigned char uchar;
00052 typedef unsigned int uint;
00053 typedef unsigned long int ulong;
00054 
00055 
00056 typedef void (*ptr2func)();
00057 
00058 
00059 
00060 #endif

Generated on Tue Feb 8 04:13:58 2005 for Esidplay by doxygen 1.3.3