src/cx/array_list.h

changeset 993
b642eca4b956
parent 989
8aa57a7fecc4
equal deleted inserted replaced
992:14ca894190fd 993:b642eca4b956
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
429 * @return the created list 429 * @return the created list
430 */ 430 */
431 cx_attr_nodiscard 431 cx_attr_nodiscard
432 cx_attr_malloc 432 cx_attr_malloc
433 cx_attr_dealloc(cxListDestroy, 1) 433 cx_attr_dealloc(cxListFree, 1)
434 CxList *cxArrayListCreate( 434 CxList *cxArrayListCreate(
435 const CxAllocator *allocator, 435 const CxAllocator *allocator,
436 cx_compare_func comparator, 436 cx_compare_func comparator,
437 size_t elem_size, 437 size_t elem_size,
438 size_t initial_capacity 438 size_t initial_capacity

mercurial