diff options
author | Tucker Evans <tucker@tuckerevans.com> | 2020-07-02 19:07:46 -0400 |
---|---|---|
committer | Tucker Evans <tucker@tuckerevans.com> | 2020-07-02 19:42:13 -0400 |
commit | 264857903db99135c8c09d12b3e8af93ac1c7f88 (patch) | |
tree | 9c18cdd8960ed7c5202a53657c04169d0254bbc3 /collections/vector/vector.h | |
parent | 0d09851c392829a6cbbd047f9a374b5c66eb4c98 (diff) |
Add index functionality 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 b84217a..63151ac 100644 --- a/collections/vector/vector.h +++ b/collections/vector/vector.h @@ -7,4 +7,5 @@ vec* vec_new(); vec* vec_with_capacity(int); int vec_size(vec*); void vec_push(vec*, void*); +void* vec_index(vec*, int); #endif |