Fix "make doc"
[nasm/avx512.git] / rdoff / collectn.h
blob2dc786eb6e0daa4c4ba196e81113a05ebe4a5898
1 /* collectn.h Header file for 'collection' abstract data type
3 * This file is public domain, and does not come under the NASM license.
4 * It, along with 'collectn.c' implements what is basically a variable
5 * length array (of pointers)
6 */
8 #ifndef _COLLECTN_H
9 #define _COLLECTN_H
11 typedef struct tagCollection {
12 void *p[32]; /* array of pointers to objects */
14 struct tagCollection *next;
15 } Collection;
17 void collection_init(Collection * c);
18 void ** colln(Collection * c, int index);
19 void collection_reset(Collection * c);
21 #endif