diff options
author | Tucker Evans <tucker@tuckerevans.com> | 2020-07-02 19:20:05 -0400 |
---|---|---|
committer | Tucker Evans <tucker@tuckerevans.com> | 2020-07-04 22:28:36 -0400 |
commit | e4ea23a6c23acdec86e5b5fcd34c653118f6898e (patch) | |
tree | d91e3b1dd813e1ab084369162e6c444b1c70a0f6 /collections/vector/vector.h | |
parent | 98454f841b5ac87d2253c2fae0aba2525853f907 (diff) |
Adds free & clear functions 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 81eea22..3996030 100644 --- a/collections/vector/vector.h +++ b/collections/vector/vector.h @@ -9,4 +9,6 @@ int vec_size(vec*); void vec_push(vec*, void*); void* vec_index(vec*, int); void* vec_pop(vec*); +void vec_free(vec*); +void vec_clear(vec*); #endif |