src/cx/hash_map.h

changeset 989
8aa57a7fecc4
parent 985
68754c7de906
--- a/src/cx/hash_map.h	Mon Nov 18 22:05:42 2024 +0100
+++ b/src/cx/hash_map.h	Sat Nov 23 14:45:32 2024 +0100
@@ -77,11 +77,11 @@
  * In other words, when the iterator is finished, \c index==size .
  *
  * @param allocator the allocator to use
+ * (if \c NULL, a default stdlib allocator will be used)
  * @param itemsize the size of one element
  * @param buckets the initial number of buckets in this hash map
  * @return a pointer to the new hash map
  */
-cx_attr_nonnull
 cx_attr_nodiscard
 cx_attr_malloc
 cx_attr_dealloc(cxMapDestroy, 1)

mercurial