1 #ifndef __LIBCPROJECT_ARRAY_LIST__
2 #define __LIBCPROJECT_ARRAY_LIST__
11 #define ARRAY_LIST_INITIAL_CAPACITY 10
struct array_list * array_list_initialization_with_capacity(size_t capacity)
Initializes a new array list with a capacity.
void array_list_add(struct array_list *list, void *element)
Adds an element to the end of the array list.
struct array_list * array_list_initialization()
Initializes a new array list.
void * array_list_get(struct array_list *list, size_t index)
Gets an element from the array list.
void array_list_free(struct array_list *list)
Frees the array list.
void array_list_remove(struct array_list *list, size_t index)
Removes an element from the array list.
A dynamic array implementation.