1: /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2: /* def.gen.h version 1.0.1: added ONCE flag */
3:
4: struct gen {
5: struct gen *ngen;
6: xchar gx,gy;
7: unsigned gflag; /* 037: trap type; 040: SEEN flag */
8: /* 0100: ONCE only */
9: #define TRAPTYPE 037
10: #define SEEN 040
11: #define ONCE 0100
12: };
13: extern struct gen *fgold, *ftrap;
14: struct gen *g_at();
15: #define newgen() (struct gen *) alloc(sizeof(struct gen))
Defined struct's
gen
defined in line
4; used 6 times
Defined macros
ONCE
defined in line
11;
never used
SEEN
defined in line
10;
never used