goat3d
annotate libs/anim/dynarr.h @ 28:9ba3e2fb8a33
modified vmath to work with vs2012, still memory corruptions in 3dsmax...
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 29 Sep 2013 08:46:19 +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_ */ |