fixed dynarray del bug

This commit is contained in:
Luka Jankovic 2025-07-25 15:48:51 +02:00
parent 024349a59f
commit e6b0928ac5

View file

@ -86,7 +86,7 @@
static inline void name##_del(struct name *arr, size_t index) { \
assert(index < arr->count); \
memmove(arr->data + index, arr->data + index + 1, \
(--arr->count - index) * sizeof(struct name)); \
(--arr->count - index) * sizeof(type)); \
}
#endif