src/cx/string.h

changeset 1313
5012728b9e91
parent 1304
57e062a4bb05
equal deleted inserted replaced
1312:d10c7926461a 1313:5012728b9e91
369 * The memory in the @p dest structure is either allocated or re-allocated to fit the entire 369 * The memory in the @p dest structure is either allocated or re-allocated to fit the entire
370 * source string, including a zero-terminator. 370 * source string, including a zero-terminator.
371 * 371 *
372 * The string in @p dest is guaranteed to be zero-terminated, regardless of whether @p src is. 372 * The string in @p dest is guaranteed to be zero-terminated, regardless of whether @p src is.
373 * 373 *
374 * @param alloc (@c CxAllocator*) the allocator
375 * @param dest (@c cxmutstr*) a pointer to the structure where to copy the contents to 374 * @param dest (@c cxmutstr*) a pointer to the structure where to copy the contents to
376 * @param src (@c cxstring) the source string 375 * @param src (@c cxstring) the source string
377 * 376 *
378 * @retval zero success 377 * @retval zero success
379 * @retval non-zero if re-allocation failed 378 * @retval non-zero if re-allocation failed

mercurial