aboutsummaryrefslogtreecommitdiff
path: root/collections/vector/vector.h
blob: 63151acbbccc89d614e84c1ce71b0edb8479158b (plain)
1
2
3
4
5
6
7
8
9
10
11
#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);
#endif