|
|
1.1 root 1: /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984. */
2: /* $Header: queu.h,v 2.1 85/08/22 16:07:02 timo Exp $ */
3:
4: /*
5: * B editor -- Definitions for queues of nodes.
6: */
7:
8: typedef struct queue *queue;
9:
10: struct queue {
11: char type;
12: char _unused;
13: intlet refcnt;
14: intlet len;
15: node q_data;
16: queue q_link;
17: };
18:
19: #define Qnil ((queue) NULL)
20: #define qcopy(q) ((queue)copy((value)(q)))
21: #define qrelease(q) release((value)(q))
22: #define emptyqueue(q) (!(q))
23:
24: node queuebehead();
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.