diff options
author | Tucker Evans <tucker@tuckerevans.com> | 2020-02-23 13:34:38 -0500 |
---|---|---|
committer | Tucker Evans <tucker@tuckerevans.com> | 2020-02-23 15:00:17 -0500 |
commit | c38089c8246d25f64557de6cf2542b48f91ace4c (patch) | |
tree | 3369408dbb6b242b6e4230304c038084fe8ddcf2 /collections/double_ended_queue.h | |
parent | 4165ace67ae82def6850f589310a3aa82a755c60 (diff) |
Add swap to double ended queue
Diffstat (limited to 'collections/double_ended_queue.h')
-rw-r--r-- | collections/double_ended_queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collections/double_ended_queue.h b/collections/double_ended_queue.h index a5645e2..d1d687a 100644 --- a/collections/double_ended_queue.h +++ b/collections/double_ended_queue.h @@ -19,10 +19,10 @@ void* deq_pop_front(deq*); void* deq_index(deq*, int); void* deq_pop_back(deq*); +void deq_swap(deq*, int, int); /* - * swap * resevee * truncate * front |