libanim

annotate src/dynarr.h @ 24:09e267e7ed4a

implemented high-level animation blending interface
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 30 Dec 2013 15:20:31 +0200
parents
children 60a46a122b0f
rev   line source
nuclear@0 1 #ifndef DYNARR_H_
nuclear@0 2 #define DYNARR_H_
nuclear@0 3
nuclear@0 4 void *dynarr_alloc(int elem, int szelem);
nuclear@0 5 void dynarr_free(void *da);
nuclear@0 6 void *dynarr_resize(void *da, int elem);
nuclear@0 7
nuclear@0 8 int dynarr_empty(void *da);
nuclear@0 9 int dynarr_size(void *da);
nuclear@0 10
nuclear@0 11 /* stack semantics */
nuclear@0 12 void *dynarr_push(void *da, void *item);
nuclear@0 13 void *dynarr_pop(void *da);
nuclear@0 14
nuclear@0 15
nuclear@0 16 #endif /* DYNARR_H_ */