gpuray_glsl

diff anim/dynarr.h @ 0:f234630e38ff

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 09 Nov 2014 13:03:36 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/anim/dynarr.h	Sun Nov 09 13:03:36 2014 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +#ifndef DYNARR_H_
     1.5 +#define DYNARR_H_
     1.6 +
     1.7 +void *dynarr_alloc(int elem, int szelem);
     1.8 +void dynarr_free(void *da);
     1.9 +void *dynarr_resize(void *da, int elem);
    1.10 +
    1.11 +int dynarr_empty(void *da);
    1.12 +int dynarr_size(void *da);
    1.13 +
    1.14 +/* stack semantics */
    1.15 +void *dynarr_push(void *da, void *item);
    1.16 +void *dynarr_pop(void *da);
    1.17 +
    1.18 +
    1.19 +#endif	/* DYNARR_H_ */