|
|
1.1 ! root 1: #define InBufSize 128 /* Initial allocation for in_buf */ ! 2: #define FStackSize 6 /* Maximum size of input file Stack ! 3: * Used for included files */ ! 4: #define TableSize 256 /* Size of the hash table for ! 5: * symbol lookup */ ! 6: #define InstanceTable 256 /* Size of the hash table to store ! 7: * the inactive items. */ ! 8: #define UTBLSIZE 256 /* Size of hash table for unactive ! 9: * elements */ ! 10: #define NUM_LAYERS 8 /* Initial size of array holding ! 11: * the patterns */ ! 12: #define NO_PAT_LINE 8 /* Number of lines in the stipple ! 13: * pattern */ ! 14: #define OUT_BUF_SIZE 32 /* Number of scan lines sent to plotter ! 15: * at a time */ ! 16: ! 17: /****************************************************************/ ! 18: ! 19: #define NOPLOT 0 ! 20: #define VARIAN 1 ! 21: #define VERSATEC 2 ! 22: #define LINEPRINTER 3 ! 23: #define VSPOOL 4 ! 24: #define HP2648A 5 ! 25: ! 26: #define INTERNAL 1 /* Internal Error */ ! 27: #define RUNTIME 2 /* Run Time Error */ ! 28: #define FATAL 3 /* Fatal Error(abortion delayed)*/ ! 29: #define RECOVERABLE 4 /* Recoverable Error */ ! 30: #define WARNING 5 /* Warning Only */ ! 31: ! 32: #define NIL 0 /* NIL pointer */ ! 33: #define DEBUG if(debug) printf ! 34: #define ADEBUG 1 /* Debugging flag */ ! 35: ! 36: #define infinity 0x7FFFFFFF ! 37: #define INFINITY 0x7FFFFFFF ! 38: ! 39: typedef float real; ! 40: ! 41: #define elseif else if ! 42: #define ROUND(x) ((int) (x+0.5)) ! 43: #define TRUNC(x) ((int) (x)) ! 44: #define ABS(x) ( (x) > 0 ? (x) : -(x)) ! 45: #define ALLOC(x) (x *) alloc(sizeof(x)) ! 46: #define SWAP(x,y,t) t=x; x=y; y=t ! 47: #define MIN(x,y) ( (x) < (y) ? (x) : (y) ) ! 48: #define MAX(x,y) ( (x) > (y) ? (x) : (y) ) ! 49: #define CONVERT(x) ((int) (((x) - Window.ymin) * ConvertFactor)) ! 50: #define REVCONVERT(x) ((real) (((x)/ConvertFactor) + Window.ymin)) ! 51: #define IMPORT extern ! 52: #define FORWARD extern
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.