diff options
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 |