Apply Nindent to all .c and .h files
[nasm/avx512.git] / rdoff / collectn.h
blob52647d1fb84d7c2082ee0e6322c0c72814972dcd
1 /*
2 * collectn.h - header file for 'collection' abstract data type.
4 * This file is public domain, and does not come under the NASM license.
5 * It, along with 'collectn.c' implements what is basically a variable
6 * length array (of pointers).
7 */
9 #ifndef _COLLECTN_H
10 #define _COLLECTN_H
12 typedef struct tagCollection {
13 void *p[32]; /* array of pointers to objects */
15 struct tagCollection *next;
16 } Collection;
18 void collection_init(Collection * c);
19 void **colln(Collection * c, int index);
20 void collection_reset(Collection * c);
22 #endif