deepstone

annotate src/cvec.h @ 36:e234f2a4b6fa

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