gpuray_glsl
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef DYNARR_H_ |
nuclear@0 | 2 #define DYNARR_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 void *dynarr_alloc(int elem, int szelem); |
nuclear@0 | 5 void dynarr_free(void *da); |
nuclear@0 | 6 void *dynarr_resize(void *da, int elem); |
nuclear@0 | 7 |
nuclear@0 | 8 int dynarr_empty(void *da); |
nuclear@0 | 9 int dynarr_size(void *da); |
nuclear@0 | 10 |
nuclear@0 | 11 /* stack semantics */ |
nuclear@0 | 12 void *dynarr_push(void *da, void *item); |
nuclear@0 | 13 void *dynarr_pop(void *da); |
nuclear@0 | 14 |
nuclear@0 | 15 |
nuclear@0 | 16 #endif /* DYNARR_H_ */ |