dungeon_crawler

annotate prototype/anim/dynarr.h @ 75:b05ab29cd17d

color grading done
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 22 Oct 2012 03:55:00 +0300
parents
children
rev   line source
nuclear@67 1 #ifndef DYNARR_H_
nuclear@67 2 #define DYNARR_H_
nuclear@67 3
nuclear@67 4 void *dynarr_alloc(int elem, int szelem);
nuclear@67 5 void dynarr_free(void *da);
nuclear@67 6 void *dynarr_resize(void *da, int elem);
nuclear@67 7
nuclear@67 8 int dynarr_empty(void *da);
nuclear@67 9 int dynarr_size(void *da);
nuclear@67 10
nuclear@67 11 /* stack semantics */
nuclear@67 12 void *dynarr_push(void *da, void *item);
nuclear@67 13 void *dynarr_pop(void *da);
nuclear@67 14
nuclear@67 15
nuclear@67 16 #endif /* DYNARR_H_ */