goat3d

view libs/anim/dynarr.h @ 37:d259a5094390

trying to figure out how to properly call C functions from the python plugin
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 06 Oct 2013 17:42:43 +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_ */