diff options
author | Tucker Evans <tucker@tuckerevans.com> | 2020-07-03 00:57:58 -0400 |
---|---|---|
committer | Tucker Evans <tucker@tuckerevans.com> | 2020-07-04 23:10:16 -0400 |
commit | b253b373ea74539a0f29a88ac2be728aa8158d2a (patch) | |
tree | cffba7f4788d4710080145b568882c279bc109e8 /collections/vector/vector.h | |
parent | f900066b813fac2f34798c39f16dacda9a878610 (diff) |
Add set index function for 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 f1eea64..7d38694 100644 --- a/collections/vector/vector.h +++ b/collections/vector/vector.h @@ -18,6 +18,7 @@ void vec_push(vec*, void*); void* vec_pop(vec*); void* vec_back(vec*); +void vec_set(vec*, int, void*); void* vec_index(vec*, int); /*memory*/ |