blob: 81eea22c1cf7b1f9a45a03cc17ef73fd21d0146b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef VECTOR_H
#define VECTOR_H
typedef struct vector vec;
vec* vec_new();
vec* vec_with_capacity(int);
int vec_size(vec*);
void vec_push(vec*, void*);
void* vec_index(vec*, int);
void* vec_pop(vec*);
#endif
|