ucx/map.h

changeset 167
cecfbb5f8618
parent 110
53895e9a4bbb
child 169
08adb4f87160
--- a/ucx/map.h	Thu Oct 15 11:41:06 2015 +0200
+++ b/ucx/map.h	Thu Oct 15 12:37:01 2015 +0200
@@ -154,6 +154,15 @@
 void ucx_map_free(UcxMap *map);
 
 /**
+ * Clears a hash map.
+ * 
+ * <b>Note:</b> the contents are <b>not</b> freed.
+ * 
+ * @param map the map to be freed
+ */
+void ucx_map_clear(UcxMap *map);
+
+/**
  * Copies contents from a map to another map using a copy function.
  * 
  * <b>Note:</b> The destination map does not need to be empty. However, if it

mercurial