]> git.lizzy.rs Git - dragonstd.git/blobdiff - map.h
Add transformer to del
[dragonstd.git] / map.h
diff --git a/map.h b/map.h
index 0c42ac8c4cc9463c55cc8f5851b6e2a9a0f1cfd0..3733b9bd31292a7d3630bb66f94a0508b2c862c8 100644 (file)
--- a/map.h
+++ b/map.h
@@ -67,7 +67,7 @@ void *map_get(Map *map, void *key, Comparator cmp, Transformer trans);
        Get an element from the map, or return NULL if none found.
 */
 
-bool map_del(Map *map, void *key, Comparator cmp, Callback call, void *arg);
+bool map_del(Map *map, void *key, Comparator cmp, Callback call, void *arg, Transformer trans);
 /*
        [Thread Safe]
        Delete an element from the map if it is found.