Skip to content

Commit 29aa0c9

Browse files
committed
Updated doc.
1 parent 28ce240 commit 29aa0c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/map.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ Where not specified, these functions return a map_ret_code.
115115

116116
.. c:function:: map_put(m, key, val)
117117
118-
Put a value inside hashmap.
118+
Put a value inside hashmap. |br|
119+
If key is already present, old value will be updated (and, if dtor is set, destroyed). Note that if new value and old value are the same pointer, nothing will be done.
119120

120121
:param m: pointer to map_t
121122
:param key: key for this value

0 commit comments

Comments
 (0)