libanim
annotate src/dynarr.h @ 57:2da758956e50
added the option of lightweight pre-pass top-down recursive calculation of
matrices instead of going through the existing lazy thread-specific caching
algorithm.
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 09 Dec 2013 04:06:30 +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_ */ |