Add function to access element by index.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user