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();

Defined struct's

queue defined in line 10; used 1 times
  • in line 8

Defined typedef's

Defined macros

Usage of this include

Last modified: 1985-08-27
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 767
Valid CSS Valid XHTML 1.0 Strict