src/cx/array_list.h

changeset 1239
b4b1f15d1866
parent 1180
4c3a69b9723a
equal deleted inserted replaced
1238:26299ce9c955 1239:b4b1f15d1866
725 * If you want to call functions that need a compare function, you have to 725 * If you want to call functions that need a compare function, you have to
726 * set it immediately after creation or use cxArrayListCreate(). 726 * set it immediately after creation or use cxArrayListCreate().
727 * 727 *
728 * If @p elem_size is #CX_STORE_POINTERS, the created list stores pointers instead of 728 * If @p elem_size is #CX_STORE_POINTERS, the created list stores pointers instead of
729 * copies of the added elements and the compare function will be automatically set 729 * copies of the added elements and the compare function will be automatically set
730 * to cx_cmp_ptr(), if none is given. 730 * to cx_cmp_ptr().
731 * 731 *
732 * @param elem_size (@c size_t) the size of each element in bytes 732 * @param elem_size (@c size_t) the size of each element in bytes
733 * @param initial_capacity (@c size_t) the initial number of elements the array can store 733 * @param initial_capacity (@c size_t) the initial number of elements the array can store
734 * @return the created list 734 * @return the created list
735 */ 735 */

mercurial