30 size_t new_capacity = self->
capacity + count;
Realtime double-ended queues.
size_t deque_room(const deque_t *self)
The remaining number of elements that can be added.
void deque_reserve(deque_t *self, size_t count)
Reallocates the deque if count elements cannot fit in the current allocation.
size_t type_size
Size in bytes of a single element.
size_t capacity
Maximum number of elements that can be stored.
void * storage
Memory area.