From 264857903db99135c8c09d12b3e8af93ac1c7f88 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Thu, 2 Jul 2020 19:07:46 -0400 Subject: Add index functionality to vectors --- collections/vector/vector.h | 1 + 1 file changed, 1 insertion(+) (limited to 'collections/vector/vector.h') diff --git a/collections/vector/vector.h b/collections/vector/vector.h index b84217a..63151ac 100644 --- a/collections/vector/vector.h +++ b/collections/vector/vector.h @@ -7,4 +7,5 @@ vec* vec_new(); vec* vec_with_capacity(int); int vec_size(vec*); void vec_push(vec*, void*); +void* vec_index(vec*, int); #endif -- cgit v1.1