nuclear@28: /* nuclear@28: libanim - hierarchical keyframe animation library nuclear@28: Copyright (C) 2012-2014 John Tsiombikas nuclear@28: nuclear@28: This program is free software: you can redistribute it and/or modify nuclear@28: it under the terms of the GNU Lesser General Public License as published nuclear@28: by the Free Software Foundation, either version 3 of the License, or nuclear@28: (at your option) any later version. nuclear@28: nuclear@28: This program is distributed in the hope that it will be useful, nuclear@28: but WITHOUT ANY WARRANTY; without even the implied warranty of nuclear@28: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nuclear@28: GNU Lesser General Public License for more details. nuclear@28: nuclear@28: You should have received a copy of the GNU Lesser General Public License nuclear@28: along with this program. If not, see . nuclear@28: */ nuclear@28: nuclear@0: #ifndef DYNARR_H_ nuclear@0: #define DYNARR_H_ nuclear@0: nuclear@0: void *dynarr_alloc(int elem, int szelem); nuclear@0: void dynarr_free(void *da); nuclear@0: void *dynarr_resize(void *da, int elem); nuclear@0: nuclear@0: int dynarr_empty(void *da); nuclear@0: int dynarr_size(void *da); nuclear@0: nuclear@0: /* stack semantics */ nuclear@0: void *dynarr_push(void *da, void *item); nuclear@0: void *dynarr_pop(void *da); nuclear@0: nuclear@0: nuclear@0: #endif /* DYNARR_H_ */