Replace VoidPArray with GenericArray and remove function implementations

This commit is contained in:
Abdelrahman Said
2025-09-14 23:13:36 +01:00
parent b7eff6a3e4
commit 033fccb8a1
4 changed files with 267 additions and 454 deletions

View File

@@ -1,4 +1,4 @@
wapp_debug_assert(allocator != NULL, "`array` should not be NULL");
wapp_debug_assert(allocator != NULL, "`allocator` should not be NULL");
u64 allocation_size = sizeof({ArrayType}) + item_size * capacity;
{ArrayType} *array = wapp_mem_allocator_alloc(allocator, allocation_size);