From e6af2f70ec910ee8cb3813fa1e5b1c7d6e3ead60 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Fri, 3 Jul 2020 23:49:15 -0400 Subject: Add insert function for vectors --- collections/vector/vector.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'collections/vector/vector.h') diff --git a/collections/vector/vector.h b/collections/vector/vector.h index 55e9481..1b47642 100644 --- a/collections/vector/vector.h +++ b/collections/vector/vector.h @@ -21,6 +21,8 @@ void* vec_back(vec*); void vec_set(vec*, int, void*); void* vec_index(vec*, int); +void vec_insert(vec*, int, void*); + void vec_swap(vec*, int, int); void* vec_swap_pop(vec*, int); -- cgit v1.1