collectn.h
来自「开源的nasm编译器源码,研究编译器原理很有帮且」· C头文件 代码 · 共 23 行
H
23 行
/* collectn.h Header file for 'collection' abstract data type * * This file is public domain, and does not come under the NASM license. * It, along with 'collectn.c' implements what is basically a variable * length array (of pointers) */#ifndef _COLLECTN_H#define _COLLECTN_Htypedef struct tagCollection { void *p[32]; /* array of pointers to objects */ struct tagCollection *next;} Collection;void collection_init(Collection * c);void ** colln(Collection * c, int index);void collection_reset(Collection * c);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?