goat3d

annotate libs/anim/dynarr.h @ 29:3d669155709d

- switched the unix build to use the internal vmath/anim as well - fixed a memory corruption issue which was caused by including the system-wide installed version of the anim.h header file - started the ass2goat assimp->goat3d converter
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 29 Sep 2013 21:53:03 +0300
parents
children 0ecb788a87f7
rev   line source
nuclear@27 1 #ifndef DYNARR_H_
nuclear@27 2 #define DYNARR_H_
nuclear@27 3
nuclear@27 4 #include "config.h"
nuclear@27 5
nuclear@27 6 void *dynarr_alloc(int elem, int szelem);
nuclear@27 7 void dynarr_free(void *da);
nuclear@27 8 void *dynarr_resize(void *da, int elem);
nuclear@27 9
nuclear@27 10 int dynarr_empty(void *da);
nuclear@27 11 int dynarr_size(void *da);
nuclear@27 12
nuclear@27 13 /* stack semantics */
nuclear@27 14 void *dynarr_push(void *da, void *item);
nuclear@27 15 void *dynarr_pop(void *da);
nuclear@27 16
nuclear@27 17
nuclear@27 18 #endif /* DYNARR_H_ */