addition: resize and reserve, not tested

This commit is contained in:
2026-04-15 10:01:27 -06:00
parent 0fc64c2d8d
commit 1d7f9676ec
2 changed files with 42 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ typedef enum {
ARRLIST_EMPTY,
ARRLIST_NULL_ARG,
ARRLIST_INVALID_ELEM_SIZE,
ARRLIST_INVALID_CAPACITY,
} ArrayListErr;
ArrayList *arraylist_init(size_t capacity, size_t elem_size);