]> git.lizzy.rs Git - dragonstd.git/blobdiff - map.h
Add key to add functions
[dragonstd.git] / map.h
diff --git a/map.h b/map.h
index eea5f0ef4abbe46ac9821ec300bcc73c390031a9..5d676578c26a04a0a6a5b98771aac842b3337377 100644 (file)
--- a/map.h
+++ b/map.h
@@ -51,7 +51,7 @@ void map_cnl(Map *map, void *iter, void *arg, void *trans, TreeTraversionOrder o
        If no callback is given, the traversion order is irrelevant.
 */
 
-bool map_add(Map *map, void *dat, void *cmp, void *trans);
+bool map_add(Map *map, void *key, void *dat, void *cmp, void *trans);
 /*
        [Thread Safe]
        Add an element to the map.