Dynamic double-ended queue written in C
How to use
- dlink* deque = deque_create();
- Functions you can use after creating a deque.
- deque_push_tail(&tail, element);
- deque_push_head(&head, element);
- deque_pop_tail(&tail, &element);
- deque_pop_head(&head, &element);
- deque_destroy(head, tail);