make max size 1 at start

This commit is contained in:
Gregory Wells
2025-06-17 12:09:56 -04:00
parent a8fa3e4da0
commit 1cd05ff458

View File

@@ -10,7 +10,7 @@ type* data; \
} type##ArrayList; \
inline static type##ArrayList type##ArrayListCreate() { \
type##ArrayList list;\
list.maxSize = 2; \
list.maxSize = 1; \
list.count = 0;\
list.data = malloc(sizeof(type) * list.maxSize); \
return list; \