cque.h

来自「Audacity是一款用於錄音和編輯聲音的、免費的開放源碼軟體。它可以執行於Ma」· C头文件 代码 · 共 26 行

H
26
字号
/*  * cque.h * macros for free lists. */typedef struct cque {    struct cque	*qnext;} CQUE;#define	Qinit(q1)	{ (q1) = 0; }/* q1 points to a stack CQUE*, new is an element to insert */#define Qenter(q1,new)  {   \    ((CQUE *)(new))->qnext = ((CQUE *)(q1)); \    q1 = ((CQUE *)(new)); }/* q1 points to a list of CQUE*: remove elt and assign to new *//* NOTE: q1 must be non-empty */#define Qget(q1,newtype,new) {  \    (new) = (newtype)(q1);  \    q1 = ((CQUE *)(q1))->qnext; }#define	Qempty(q1)	((q1) == 0)

⌨️ 快捷键说明

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