fix wrong return value documentation for cxMapEmplace()

Sun, 14 Dec 2025 14:15:26 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 14 Dec 2025 14:15:26 +0100
changeset 1599
aa55109f01d0
parent 1598
1f0b85ea71f5
child 1600
a1a728d7ebfd

fix wrong return value documentation for cxMapEmplace()

src/cx/map.h file | annotate | diff | comparison | revisions
--- a/src/cx/map.h	Sun Dec 14 12:07:55 2025 +0100
+++ b/src/cx/map.h	Sun Dec 14 14:15:26 2025 +0100
@@ -357,8 +357,6 @@
  * @param map the map
  * @param key the key
  * @return the pointer to the allocated memory or @c NULL if allocation fails
- * @retval zero success
- * @retval non-zero value on memory allocation failure
  * @see cxMapEmplace()
  */
 cx_attr_nonnull
@@ -379,8 +377,6 @@
  * @param map (@c CxMap*) the map
  * @param key (any supported key type) the key
  * @return the pointer to the allocated memory or @c NULL if allocation fails
- * @retval zero success
- * @retval non-zero value on memory allocation failure
  * @see CX_HASH_KEY()
  */
 #define cxMapEmplace(map, key) cx_map_emplace(map, CX_HASH_KEY(key))

mercurial