Code cleanup in the List code. Possibly saved myself some headache in the future by using the right pointer type in the struct definition.

This commit is contained in:
2022-01-18 16:28:49 +00:00
parent 929f2a7f4b
commit 479dc57ea8
3 changed files with 12 additions and 23 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
#define LISTDEFAULTSIZE 4
typedef struct {
char** root;
void** content;
int size;
int capacity;
} List;