--- ray/src/common/calcomp.h 1989/04/10 22:05:56 1.2 +++ ray/src/common/calcomp.h 1991/04/23 15:44:37 1.5 @@ -15,11 +15,12 @@ #define ARG 6 #define TICK 7 #define SYM 8 - /* also: '+', '-', '*', '/', '^', '=' */ + /* also: '+', '-', '*', '/', '^', '=', ':' */ typedef struct { char *fname; /* function name */ - int nargs; /* # of required arguments */ + short nargs; /* # of required arguments */ + short atyp; /* assignment type (':' or '=') */ double (*f)(); /* pointer to function */ } LIBR; /* a library function */ @@ -59,7 +60,3 @@ extern int nextc; extern int errno; #define evalue(ep) (*eoper[(ep)->type])(ep) - -#ifdef CPM -#define defined(D) D -#endif