src/cx/properties.h

changeset 980
98af3fbc847f
parent 972
a9a1d07a6840
equal deleted inserted replaced
979:bbae1ebf309b 980:98af3fbc847f
402 * This temporary buffer is allocated on the heap, unless you specified 402 * This temporary buffer is allocated on the heap, unless you specified
403 * a buffer on the stack with #cxPropertiesUseStack(). 403 * a buffer on the stack with #cxPropertiesUseStack().
404 * In that case, the stack buffer is used, until the capacity is not sufficient 404 * In that case, the stack buffer is used, until the capacity is not sufficient
405 * anymore. 405 * anymore.
406 * 406 *
407 * When this function is called without any unprocessed data that needs to be
408 * copied, it behaves exactly as #cxPropertiesInput().
409 *
410 * @param prop the properties interface 407 * @param prop the properties interface
411 * @param str the string 408 * @param str the string
412 * @return non-zero when a memory allocation was necessary but failed 409 * @return non-zero when a memory allocation was necessary but failed
413 */ 410 */
414 #define cxPropertiesFill(prop, str) _Generic((str), \ 411 #define cxPropertiesFill(prop, str) _Generic((str), \

mercurial