goat3d

annotate libs/anim/dynarr.h @ 49:0ecb788a87f7

merged changes from libanim
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 16 Jan 2014 19:13:45 +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_ */