From 1a41fe605ab6bde15f622e72abb7aee846531fcf Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Fri, 3 Jul 2020 01:18:17 -0400 Subject: Add swap_pop function for 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 2b1e8e9..55e9481 100644 --- a/collections/vector/vector.h +++ b/collections/vector/vector.h @@ -22,6 +22,7 @@ void vec_set(vec*, int, void*); void* vec_index(vec*, int); void vec_swap(vec*, int, int); +void* vec_swap_pop(vec*, int); /*memory*/ -- cgit v1.1