aboutsummaryrefslogtreecommitdiff
path: root/collections/map/map.h
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2020-07-24 15:38:15 -0400
committerTucker Evans <tuckerevans24@gmail.com>2020-07-24 15:56:31 -0400
commitbc540d32e8d2ff16ffe688b02f18d565651e4b10 (patch)
treeaefaefaeb7451086eacfde86d5d523798bd1964e /collections/map/map.h
parent1cd08117d9506d72bf4bf87a12ad4720d0892407 (diff)
Add swap function for maps
Diffstat (limited to 'collections/map/map.h')
-rw-r--r--collections/map/map.h2
1 files changed, 2 insertions, 0 deletions
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*);