#ifndef __ARRAYLIST_H__ #define __ARRAYLIST_H__ typedef struct { unsigned capacity; unsigned size; int *data; } ArrayList; /** * creates an empty array list, using malloc */ ArrayList *makeList(); /** * deallocates an array list, using free */ void destroyList(ArrayList *); void show(ArrayList *); void add(ArrayList *, int); #endif