diff options
author | Tucker Evans <tucker@tuckerevans.com> | 2020-07-03 23:57:45 -0400 |
---|---|---|
committer | Tucker Evans <tucker@tuckerevans.com> | 2020-07-04 23:14:13 -0400 |
commit | a1d4279c40612e6f98564db43192929b41c59d40 (patch) | |
tree | 73f4080bebddda5e13d365cf21565002e51bd329 /collections/vector/vector.h | |
parent | e6af2f70ec910ee8cb3813fa1e5b1c7d6e3ead60 (diff) |
Add remove function for vectors
Removes element at an index.
Diffstat (limited to 'collections/vector/vector.h')
-rw-r--r-- | collections/vector/vector.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/collections/vector/vector.h b/collections/vector/vector.h index 1b47642..083a1d0 100644 --- a/collections/vector/vector.h +++ b/collections/vector/vector.h @@ -22,6 +22,7 @@ void vec_set(vec*, int, void*); void* vec_index(vec*, int); void vec_insert(vec*, int, void*); +void* vec_remove(vec*, int); void vec_swap(vec*, int, int); void* vec_swap_pop(vec*, int); |