collectn.h
资源名称:nasm-0.98.zip [点击查看]
上传用户:yuppie_zhu
上传日期:2007-01-08
资源大小:535k
文件大小:1k
源码类别:
编译器/解释器
开发平台:
C/C++
- /* 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_H
- typedef 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