goat3d
view libs/anim/dynarr.h @ 47:498ca7ac7047
- placed all the implementation stuff in the g3dimpl namespace
- added animation stuff to the public API
- started writing animation saving/loading
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 28 Dec 2013 06:47:39 +0200 |
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_ */