operator.h 192 B

123456789101112
  1. /* $Id$ */
  2. #include "ops.h"
  3. typedef struct operator {
  4. int op_nargs;
  5. int (*op_fun)();
  6. } t_operator, *p_operator;
  7. extern t_operator operators[];
  8. #define nargs(n) (operators[(n)].op_nargs)