libresman
annotate src/dynarr.h @ 22:174ddb6bf92a
separated platform-specific filewatch code
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 12 Feb 2014 22:32:30 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@5 | 1 #ifndef DYNARR_H_ |
nuclear@5 | 2 #define DYNARR_H_ |
nuclear@5 | 3 |
nuclear@5 | 4 void *dynarr_alloc(int elem, int szelem); |
nuclear@5 | 5 void dynarr_free(void *da); |
nuclear@5 | 6 void *dynarr_resize(void *da, int elem); |
nuclear@5 | 7 |
nuclear@5 | 8 int dynarr_empty(void *da); |
nuclear@5 | 9 int dynarr_size(void *da); |
nuclear@5 | 10 |
nuclear@5 | 11 /* stack semantics */ |
nuclear@5 | 12 void *dynarr_push(void *da, void *item); |
nuclear@5 | 13 void *dynarr_pop(void *da); |
nuclear@5 | 14 |
nuclear@5 | 15 |
nuclear@5 | 16 #endif /* DYNARR_H_ */ |