fixed it somehow, still WIP

This commit is contained in:
2025-11-15 18:25:34 +01:00
parent d36b6d2c45
commit 92ca008516
5 changed files with 32 additions and 8 deletions
+1
View File
@@ -38,6 +38,7 @@ Test(dynamic_arrays, pop) {
dyn_array_append(numbers, 48);
dyn_array_append(numbers, 49);
dyn_array_append(numbers, 50);
cr_assert_eq(dyn_array_length(numbers), 11);
// NOTE: you can stack for loops to have scoped variables you can abuse
// in macros. e.g.
// for (TYPE UNIQUE = (int)dyn_array_length(numbers); UNIQUE != 0; UNIQUE = 0;)