src/cx/properties.h

changeset 1232
781bd188f1c0
parent 1193
cfa44f3f5e3b
equal deleted inserted replaced
1231:a9f9c59e0b63 1232:781bd188f1c0
549 ); 549 );
550 550
551 /** 551 /**
552 * Creates a properties sink for an UCX map. 552 * Creates a properties sink for an UCX map.
553 * 553 *
554 * The values stored in the map will be pointers to strings allocated 554 * The values stored in the map will be pointers to freshly allocated,
555 * by #cx_strdup_a(). 555 * zero-terminated C strings (@c char*), which means the @p map should have been
556 * created with #CX_STORE_POINTERS.
557 *
556 * The default stdlib allocator will be used, unless you specify a custom 558 * The default stdlib allocator will be used, unless you specify a custom
557 * allocator in the optional @c data of the sink. 559 * allocator in the optional @c data field of the returned sink.
558 * 560 *
559 * @param map the map that shall consume the k/v-pairs. 561 * @param map the map that shall consume the k/v-pairs.
560 * @return the sink 562 * @return the sink
561 * @see cxPropertiesLoad() 563 * @see cxPropertiesLoad()
562 */ 564 */

mercurial