blob: fb32da7a66d1df25f980adb788bc2b5eb12894db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef NQ_VECTOR_H
#define NQ_VECTOR_H
#include <stddef.h>
struct vector {
size_t alloc, count, elemsize, arrayoff;
};
void *vector_init(size_t alloc, size_t elemsize, size_t arrayoff);
void *vector_append(struct vector **vp);
#endif
|