Add data to end of VHeader.

This commit is contained in:
Christoffer Lerno
2021-06-11 17:35:44 +02:00
parent bbfe8c434e
commit 117cc6339b

View File

@@ -288,6 +288,7 @@ typedef struct
{
unsigned size;
unsigned capacity;
char data[];
} VHeader_;
static inline VHeader_* vec_new_(size_t element_size, size_t capacity)