page and item selection

This commit is contained in:
2025-09-29 22:00:51 +02:00
parent afb9fb9d13
commit 2138da7d4d
9 changed files with 106 additions and 41 deletions
+13
View File
@@ -0,0 +1,13 @@
#include "arr.h"
unsigned int arr_uint_index_of(UintArray array, unsigned int value) {
unsigned int i;
for (i = 0; i < array.length; i++) {
if (array.values[i] == value) {
return i;
}
}
return ARRAY_NOT_FOUND;
}