src/ucx/array.h

branch
feature/array
changeset 353
135ce35d5108
parent 345
6089eb30a51a
child 354
7fd13b9f8f60
equal deleted inserted replaced
352:83888029778a 353:135ce35d5108
124 * 124 *
125 * The data is freed and both capacity and count are reset to zero. 125 * The data is freed and both capacity and count are reset to zero.
126 * If the array structure itself has been dynamically allocated, it has to be 126 * If the array structure itself has been dynamically allocated, it has to be
127 * freed separately. 127 * freed separately.
128 * 128 *
129 * @param array the array to free 129 * @param array the array to destroy
130 */ 130 */
131 void ucx_array_free(UcxArray *array); 131 void ucx_array_destroy(UcxArray *array);
132 132
133 /** 133 /**
134 * Inserts an element at the end of the array. 134 * Inserts an element at the end of the array.
135 * 135 *
136 * This is an O(1) operation. 136 * This is an O(1) operation.

mercurial