diff options
author | Tucker Evans <tucker@tuckerevans.com> | 2020-07-04 22:17:27 -0400 |
---|---|---|
committer | Tucker Evans <tucker@tuckerevans.com> | 2020-07-04 23:14:34 -0400 |
commit | 5fa1551b4a0acc28d5c656479806511ab0c81a18 (patch) | |
tree | 47738892753aaf5947f011f779efd159ea476266 /collections/vector/vector.h | |
parent | 8aa9f42d914a453a0570752ee292b9a9cfcae9d6 (diff) |
Add reserve function to vectors
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 b997b46..4d6d04c 100644 --- a/collections/vector/vector.h +++ b/collections/vector/vector.h @@ -30,6 +30,7 @@ void* vec_swap_pop(vec*, int); /*memory*/ void vec_truncate(vec*, int); +void vec_reserve(vec*, int); void vec_clear(vec*); void vec_free(vec*); |