deepstone

diff src/cvec.h @ 16:cb676ff89e69

added missing cvec and scene files
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 29 Nov 2011 07:23:57 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/cvec.h	Tue Nov 29 07:23:57 2011 +0200
     1.3 @@ -0,0 +1,20 @@
     1.4 +#ifndef CVEC_H_
     1.5 +#define CVEC_H_
     1.6 +
     1.7 +#ifdef __cplusplus
     1.8 +extern "C" {
     1.9 +#endif
    1.10 +
    1.11 +void *cvec_alloc(int cnt, int esz);
    1.12 +void cvec_free(void *cvec);
    1.13 +
    1.14 +void *cvec_resize(void *cvec, int newsz);
    1.15 +void *cvec_append(void *cvec, void *data);
    1.16 +
    1.17 +int cvec_size(void *cvec);
    1.18 +
    1.19 +#ifdef __cplusplus
    1.20 +}
    1.21 +#endif
    1.22 +
    1.23 +#endif	/* CVEC_H_ */