list.h

来自「早期freebsd实现」· C头文件 代码 · 共 23 行

H
23
字号
/*************************************************************************** * This program is Copyright (C) 1986, 1987, 1988 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 **));

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?