/* standard.h */ /* C definitions for some Mesa symbols in Symbols.StandardContext */ /* These are the symbols which have to be defined as C types rather */ /* than as simpler Mesa types. */ /* Mesa types according to Mimosa Cedar compiler (for Sun3 and Sun4) */ /* bitsPerWord:32 bitsPerLongWord:32 bitsPerAU:8 bitsPerProc:32 /* C types according to Sun3 C compiler */ /* char:1 int:4 short:2 long:4 float:4 double:8 */ #ifndef StandardContext #define StandardContext typedef short BIT; /* 1 bits */ typedef enum { FALSE=0, TRUE=1 } BOOLEAN; /* 1 bits */ typedef BOOLEAN BOOL; /* 1 bits */ typedef unsigned short BYTE; /* 8 bits */ typedef unsigned short UNIT; /* 8 bits */ typedef char CHARACTER; /* 8 bits */ typedef char CHAR; /* 8 bits */ typedef unsigned short NAT15; /* 15 bits */ typedef unsigned short CARD16; /* 16 bits */ typedef short INT16; /* 16 bits */ typedef unsigned NAT31; /* 31 bits */ typedef unsigned NATURAL; /* 31 bits */ typedef unsigned NAT; /* 31 bits */ typedef unsigned WORD; /* 32 bits */ typedef unsigned UNSPECIFIED; /* 32 bits */ typedef unsigned CARD32; /* 32 bits */ typedef unsigned CARDINAL; /* 32 bits */ typedef unsigned CARD; /* 32 bits */ typedef int INT32; /* 32 bits */ typedef int INTEGER; /* 32 bits */ typedef int INT; /* 32 bits */ typedef float REAL32; /* 32 bits */ typedef float REAL; /* 32 bits */ typedef void *SIGNAL; /* 32 bits */ typedef void *ERROR; /* 32 bits */ typedef void *PROCESS; /* 32 bits */ typedef void *PROGRAM; /* 32 bits */ typedef void *ZONE; /* 32 bits */ typedef struct { unsigned one, two; } DWORD; /* 64 bits */ typedef struct { unsigned one, two; } CARD64; /* 64 bits */ typedef struct { unsigned one, two; } DCARD; /* 64 bits */ typedef struct { int one, two; } INT64; /* 64 bits */ typedef struct { int one, two; } DINT; /* 64 bits */ typedef double REAL64; /* 64 bits */ typedef double DREAL; /* 64 bits */ #define NULL 0 #define NIL 0 #endif JJJDJGJ!JGJ@J*J2JJJJJJ$J7J%J-J-J)J$JJ.J/J&JJ)J*J'JJ(J.J)J+J(J$J&J"J'J%JJ'J&J(J(J%JJ;J