Add function to access element by index.

This commit is contained in:
2016-12-20 23:28:07 -08:00
parent c4ee4853d5
commit 37adcb1365
2 changed files with 11 additions and 0 deletions

View File

@@ -22,4 +22,6 @@ void vec_remove(vec*, void*);
void* vec_find(vec*, void*, compare_func);
int vec_foreach(vec*, void*, compare_func, foreach_func, ...);
void* vec_index(vec*, int);
#endif