libanim

annotate src/dynarr.h @ 14:b6352323cbd5

disable link-time code generation in visual studio
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 30 Apr 2013 05:02:36 +0300
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_ */