diff options
author | Tucker Evans <tucker@tuckerevans.com> | 2020-07-04 22:06:49 -0400 |
---|---|---|
committer | Tucker Evans <tucker@tuckerevans.com> | 2020-07-04 23:14:20 -0400 |
commit | 8874cf97227139ed10e75fe13108988b45492172 (patch) | |
tree | f9e3bb5305f1463ee2cebb924107b133cd551817 /collections/vector/vector.h | |
parent | a1d4279c40612e6f98564db43192929b41c59d40 (diff) |
Add truncate to 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 083a1d0..b997b46 100644 --- a/collections/vector/vector.h +++ b/collections/vector/vector.h @@ -29,6 +29,8 @@ void* vec_swap_pop(vec*, int); /*memory*/ +void vec_truncate(vec*, int); + void vec_clear(vec*); void vec_free(vec*); #endif |