dos3d
annotate src/cvec.h @ 24:698c4d07702d
fixed the linux makefile
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 20 Jun 2017 21:55:49 +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_ */ |