ucx/cx/properties.h

changeset 108
77254bd6dccb
parent 102
64ded9f6a6c6
child 112
c3f2f16fa4b8
equal deleted inserted replaced
107:b34bd1557c6c 108:77254bd6dccb
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 * The default stdlib allocator will be used, unless you specify a custom 556 * created with #CX_STORE_POINTERS.
557 * allocator in the optional @c data of the sink. 557 *
558 * The cxDefaultAllocator will be used unless you specify a custom
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