Sun, 14 Dec 2025 14:15:26 +0100
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))