Refactor array to avoid having to include external types

This commit is contained in:
abdelrahman committed 2025-05-05 16:33:08 +01:00
1 parent 98a802e3eb
commit 4e3945d1d0
18 files changed
+841 -1035

No files matched your search

+2 -1
View File
@@ -2,4 +2,5 @@
return NULL;
}}
return &(array->items[index]);
u8 *ptr = (u8 *)(array->items) + (array->item_size * index);
return ({T} *)ptr;