# HG changeset patch # User Mike Becker # Date 1765718126 -3600 # Node ID aa55109f01d034e76d042ada82ef6b5a665bedf7 # Parent 1f0b85ea71f5a3b423f88ab4f4435bcca67bb566 fix wrong return value documentation for cxMapEmplace() diff -r 1f0b85ea71f5 -r aa55109f01d0 src/cx/map.h --- 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))