Lots of changes and too much dragging my feet on this. But I think this is going in the right direction now.

This commit is contained in:
2025-06-24 23:48:26 -05:00
parent ebfd7cf94c
commit b759589e84
16 changed files with 320 additions and 51 deletions
+4 -2
View File
@@ -2,15 +2,17 @@
#define ARRAY_H
#include <stdbool.h>
#include <stddef.h>
typedef struct _array {
int Capacity;
int Size;
size_t Capacity;
size_t Size;
void** Items;
} Array;
Array* ArrayCreate(void);
bool ArrayAdd(Array* array, void* item);
void* ArrayPeek(Array* array);
void* ArrayIndex(Array* array, size_t index);
#endif