home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
jove-4.16-src.tgz
/
tar.out
/
bsd
/
jove
/
list.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-28
|
734b
|
23 lines
/************************************************************************
* This program is Copyright (C) 1986-1996 by Jonathan Payne. JOVE is *
* provided to you without charge, and with no warranty. You may give *
* away copies of JOVE, including sources, provided that this notice is *
* included in all the files. *
************************************************************************/
/* generic singly linked list package */
typedef struct cons List;
struct cons {
UnivPtr car; /* pointer to element */
List *cdr;
};
#define list_next(lp) ((lp)->cdr)
#define list_data(lp) ((lp)->car)
extern UnivPtr
list_push proto((List **, UnivPtr)),
list_pop proto((List **));