nuclear@1: #ifndef DYNARR_H_ nuclear@1: #define DYNARR_H_ nuclear@1: nuclear@1: void *dynarr_alloc(int elem, int szelem); nuclear@1: void dynarr_free(void *da); nuclear@1: void *dynarr_resize(void *da, int elem); nuclear@1: nuclear@1: int dynarr_empty(void *da); nuclear@1: int dynarr_size(void *da); nuclear@1: nuclear@1: /* stack semantics */ nuclear@1: void *dynarr_push(void *da, void *item); nuclear@1: void *dynarr_pop(void *da); nuclear@1: nuclear@1: nuclear@1: #endif /* DYNARR_H_ */