From bc540d32e8d2ff16ffe688b02f18d565651e4b10 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Fri, 24 Jul 2020 15:38:15 -0400 Subject: Add swap function for maps --- collections/map/map.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'collections/map/map.h') diff --git a/collections/map/map.h b/collections/map/map.h index 81718c1..c6fb83d 100644 --- a/collections/map/map.h +++ b/collections/map/map.h @@ -17,6 +17,8 @@ void* map_remove(map*, void*); void* map_set_val(map*, void*, void*); void* map_index(map*, void*); +void map_swap(map*, void*, void*); + int map_check_key_ptr(map*, void*); void* map_set_key(map*, void*); -- cgit v1.1