2 // Alterations: Copyright C. Hotchkiss 1996
5 // Revision 1.1 2002/09/10 01:14:04 curt
8 // Revision 1.2 2001/05/16 21:27:59 curt
9 // Added David Megginson's patch for reconfigurable keyboard bindings.
11 // Revision 1.1.1.1 1999/06/17 18:07:30 curt
12 // Start of 0.7.x branch
14 // Revision 1.2 1999/04/22 18:45:42 curt
17 // Revision 1.1.1.1 1999/04/05 21:32:40 curt
18 // Start of 0.6.x branch.
20 // Revision 1.2 1998/05/13 18:23:46 curt
21 // fg_typedefs.h: updated version by Charlie Hotchkiss
22 // general.h: moved fg_root info to fgOPTIONS structure.
24 // Revision 1.1 1998/05/11 18:26:12 curt
27 // Rev 1.4 11 Nov 1997 15:34:28 CHOTCHKISS
28 // Expanded definitions.
30 // Rev 1.3 20 Jan 1997 9:21:26 CHOTCHKISS
33 // Rev 1.2 12 Nov 1996 15:06:52 CHOTCHKISS
34 // Dropped PC Write print format control lines.
36 // Rev 1.1 20 Nov 1995 15:59:02 CHOTCHKISS
37 // Additions and improvements. Memcheck compatibilities.
39 // Rev 1.0 06 Apr 1995 14:00:32 CHOTCHKISS
44 // TYPEDEFS.H - General purpose definition file
45 // Copyright (C) 1992 Paradigm Systems. All rights reserved.
49 // This file contains the general purpose definitions common to the
50 // all Paradigm applications. By defining synonyms for the physical
51 // data types to be manipulated, portability between memory models
52 // and machines is maximized.
54 // Note that this file follows the system include files and before
55 // any application include files.
62 // Define the types to be used to manipulate 8-, 16-, and 32-bit
65 typedef unsigned int BIT ; // Use for defining Borland bit fields
66 typedef char CHAR ; // 8-bit signed data
67 typedef const char COCHAR;
68 typedef unsigned char UCHAR ; // 8-bit unsigned data
69 typedef unsigned char BYTE;
70 typedef int INT ; // 16-bit signed data
71 typedef unsigned int UINT ; // 16-bit unsigned data
72 typedef const int COINT; // 16=bit constant int
73 typedef const UINT COUINT;
74 typedef long LONG ; // 32-bit signed data
75 typedef unsigned long ULONG ; // 32-bit unsigned data
77 typedef unsigned short UWORD; // Unsigned 16 bit quantity (WIN=SHORT)
79 typedef signed short WORD; // Signed 16 bit quantity
81 typedef BYTE UBYTE; // Used in some 3rd party code
83 typedef int BOOLEAN; //
86 typedef float FLOAT ; // 32-bit floating point data
87 typedef double DOUBLE ; // 64-bit floating point data
88 typedef long double LDOUBLE ; // 80-bit floating point data
90 typedef void(*VFNPTR) ( void );
91 typedef void(*VFNINTPTR)( int );
92 typedef int (*FNPTR) ( void );
93 typedef int (*FNINTPTR) ( int );
94 typedef int (*FNUIPTR) ( UINT );
95 typedef double( *DBLFNPTR)( void );
96 typedef float( *FLTFNPTR)( void );
98 #endif // _FG_TYPEDEFS