libresman
view src/dynarr.h @ 25:1be0a35aa216
removed a random debug printf left in the code
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 13 Feb 2014 21:34:41 +0200 |
parents | |
children |
line source
1 #ifndef DYNARR_H_
2 #define DYNARR_H_
4 void *dynarr_alloc(int elem, int szelem);
5 void dynarr_free(void *da);
6 void *dynarr_resize(void *da, int elem);
8 int dynarr_empty(void *da);
9 int dynarr_size(void *da);
11 /* stack semantics */
12 void *dynarr_push(void *da, void *item);
13 void *dynarr_pop(void *da);
16 #endif /* DYNARR_H_ */