src/cx/array_list.h

changeset 989
8aa57a7fecc4
parent 986
38fa7e41194c
equal deleted inserted replaced
988:15b3ca7ee33f 989:8aa57a7fecc4
418 * If \p elem_size is CX_STORE_POINTERS, the created list will be created as if 418 * If \p elem_size is CX_STORE_POINTERS, the created list will be created as if
419 * cxListStorePointers() was called immediately after creation and the compare 419 * cxListStorePointers() was called immediately after creation and the compare
420 * function will be automatically set to cx_cmp_ptr(), if none is given. 420 * function will be automatically set to cx_cmp_ptr(), if none is given.
421 * 421 *
422 * @param allocator the allocator for allocating the list memory 422 * @param allocator the allocator for allocating the list memory
423 * (if \c NULL the cxDefaultAllocator will be used) 423 * (if \c NULL, a default stdlib allocator will be used)
424 * @param comparator the comparator for the elements 424 * @param comparator the comparator for the elements
425 * (if \c NULL, and the list is not storing pointers, sort and find 425 * (if \c NULL, and the list is not storing pointers, sort and find
426 * functions will not work) 426 * functions will not work)
427 * @param elem_size the size of each element in bytes 427 * @param elem_size the size of each element in bytes
428 * @param initial_capacity the initial number of elements the array can store 428 * @param initial_capacity the initial number of elements the array can store

mercurial