deepstone
view src/cvec.h @ 36:e234f2a4b6fa
ops
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 23 Sep 2013 07:42:56 +0300 |
parents | |
children |
line source
1 #ifndef CVEC_H_
2 #define CVEC_H_
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 void *cvec_alloc(int cnt, int esz);
9 void cvec_free(void *cvec);
11 void *cvec_resize(void *cvec, int newsz);
12 void *cvec_append(void *cvec, void *data);
14 int cvec_size(void *cvec);
16 #ifdef __cplusplus
17 }
18 #endif
20 #endif /* CVEC_H_ */