goat3d
annotate libs/anim/dynarr.h @ 53:6d514398a728
fixed a merge mistake
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 17 Jan 2014 18:30:35 +0200 |
parents | 4deb0b12fe14 |
children |
rev | line source |
---|---|
nuclear@27 | 1 #ifndef DYNARR_H_ |
nuclear@27 | 2 #define DYNARR_H_ |
nuclear@27 | 3 |
nuclear@27 | 4 void *dynarr_alloc(int elem, int szelem); |
nuclear@27 | 5 void dynarr_free(void *da); |
nuclear@27 | 6 void *dynarr_resize(void *da, int elem); |
nuclear@27 | 7 |
nuclear@27 | 8 int dynarr_empty(void *da); |
nuclear@27 | 9 int dynarr_size(void *da); |
nuclear@27 | 10 |
nuclear@27 | 11 /* stack semantics */ |
nuclear@27 | 12 void *dynarr_push(void *da, void *item); |
nuclear@27 | 13 void *dynarr_pop(void *da); |
nuclear@27 | 14 |
nuclear@27 | 15 |
nuclear@27 | 16 #endif /* DYNARR_H_ */ |