libanim
view src/dynarr.h @ 7:ffe668a61bca
made the kind of interpolation for quaternion tracks into a conditional block
for testing (lerp/slerp), obviously defaults to slerp...
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 01 Mar 2013 09:44:20 +0200 |
parents | |
children | 60a46a122b0f |
line source
1 #ifndef DYNARR_H_
2 #define DYNARR_H_
4 void *dynarr_alloc(int elem, int szelem);
5 void dynarr_free(void *da);
6 void *dynarr_resize(void *da, int elem);
8 int dynarr_empty(void *da);
9 int dynarr_size(void *da);
11 /* stack semantics */
12 void *dynarr_push(void *da, void *item);
13 void *dynarr_pop(void *da);
16 #endif /* DYNARR_H_ */