diff options
author | Tucker Evans <tucker@tuckerevans.com> | 2020-07-03 23:49:15 -0400 |
---|---|---|
committer | Tucker Evans <tucker@tuckerevans.com> | 2020-07-04 23:13:34 -0400 |
commit | e6af2f70ec910ee8cb3813fa1e5b1c7d6e3ead60 (patch) | |
tree | ad518b44f3a1eb0601a1b52ca59cc55a61b16e72 /collections/vector/vector.h | |
parent | a691f4d4b0a57d62eb792e6ede0c0fa5334e3e61 (diff) |
Add insert function for vectors
Diffstat (limited to 'collections/vector/vector.h')
-rw-r--r-- | collections/vector/vector.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |