Fix bug with queue

This commit is contained in:
2026-02-08 19:16:36 +00:00
parent 3d3452f523
commit 8d9ef89329

View File

@@ -54,7 +54,7 @@ typedef GenericQueue Str8Queue;
}()) }())
#define wapp_queue_alloc(TYPE, ALLOCATOR_PTR, CAPACITY) ([&]() { \ #define wapp_queue_alloc(TYPE, ALLOCATOR_PTR, CAPACITY) ([&]() { \
wapp_persist GenericQueue queue = { \ wapp_persist GenericQueue queue = { \
wapp_array_alloc_capacity(TYPE, ALLOCATOR_PTR, CAPACITY, ARRAY_INIT_FILLED) \ wapp_array_alloc_capacity(TYPE, ALLOCATOR_PTR, CAPACITY, ARRAY_INIT_FILLED), \
0, \ 0, \
0, \ 0, \
0, \ 0, \