goat3d

view libs/anim/dynarr.h @ 27:4deb0b12fe14

wtf... corrupted heap?
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 29 Sep 2013 08:20:19 +0300
parents
children 0ecb788a87f7
line source
1 #ifndef DYNARR_H_
2 #define DYNARR_H_
4 #include "config.h"
6 void *dynarr_alloc(int elem, int szelem);
7 void dynarr_free(void *da);
8 void *dynarr_resize(void *da, int elem);
10 int dynarr_empty(void *da);
11 int dynarr_size(void *da);
13 /* stack semantics */
14 void *dynarr_push(void *da, void *item);
15 void *dynarr_pop(void *da);
18 #endif /* DYNARR_H_ */