ucx/cx/properties.h

changeset 108
77254bd6dccb
parent 102
64ded9f6a6c6
child 112
c3f2f16fa4b8
--- a/ucx/cx/properties.h	Sat Apr 05 17:57:04 2025 +0200
+++ b/ucx/cx/properties.h	Sun Jul 20 22:04:39 2025 +0200
@@ -551,10 +551,12 @@
 /**
  * Creates a properties sink for an UCX map.
  *
- * The values stored in the map will be pointers to strings allocated
- * by #cx_strdup_a().
- * The default stdlib allocator will be used, unless you specify a custom
- * allocator in the optional @c data of the sink.
+ * The values stored in the map will be pointers to freshly allocated,
+ * zero-terminated C strings (@c char*), which means the @p map should have been
+ * created with #CX_STORE_POINTERS.
+ *
+ * The cxDefaultAllocator will be used unless you specify a custom
+ * allocator in the optional @c data field of the returned sink.
  *
  * @param map the map that shall consume the k/v-pairs.
  * @return the sink

mercurial