src/ucx/array.h

branch
feature/array
changeset 357
0f5732f0dc00
parent 356
77efe51c6c9a
child 365
72da0e4cbf4a
equal deleted inserted replaced
356:77efe51c6c9a 357:0f5732f0dc00
186 * 186 *
187 * This function clones the specified array by using memcpy(). 187 * This function clones the specified array by using memcpy().
188 * If the destination capacity is insufficient, an automatic reallocation is 188 * If the destination capacity is insufficient, an automatic reallocation is
189 * attempted. 189 * attempted.
190 * 190 *
191 * Note: if the destination array is uninitialized, the behavior is undefined.
192 *
191 * @param dest the array to copy to 193 * @param dest the array to copy to
192 * @param src the array to copy from 194 * @param src the array to copy from
193 * @return zero on success, non-zero on reallocation failure. 195 * @return zero on success, non-zero on reallocation failure.
194 */ 196 */
195 int ucx_array_clone(UcxArray* dest, UcxArray const* src); 197 int ucx_array_clone(UcxArray* dest, UcxArray const* src);

mercurial