diff options
author | Tucker Evans <tucker@tuckerevans.com> | 2020-02-21 16:20:20 -0500 |
---|---|---|
committer | Tucker Evans <tucker@tuckerevans.com> | 2020-02-21 16:20:20 -0500 |
commit | be15781d892efb5ed3cecac1d2e97242cc6d2f98 (patch) | |
tree | 1161a1831cfee2672f0514e90ed5ea2151e78434 /collections/double_ended_queue.h | |
parent | 94977303d50343f98a8bc9fcec0ab77a7e111597 (diff) |
Fix rename double ended queue files
Also add gitignore.
Diffstat (limited to 'collections/double_ended_queue.h')
-rw-r--r-- | collections/double_ended_queue.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/collections/double_ended_queue.h b/collections/double_ended_queue.h new file mode 100644 index 0000000..0c7bdce --- /dev/null +++ b/collections/double_ended_queue.h @@ -0,0 +1,16 @@ +#ifndef VECTOR_H +#define VECTOR_H + +typedef struct vector vec; + +vec* vec_new(); +vec* vec_with_capacity(int); +int vec_size(vec*); +void vec_push(vec*, void*); +void* vec_rmfirst(vec*); +void* vec_index(vec*, int); +void vec_free(vec*); +void* vec_pop(vec*); +void vec_print(vec*); +vec* vec_cp(vec*); +#endif |