src/cx/linked_list.h

changeset 993
b642eca4b956
parent 989
8aa57a7fecc4
equal deleted inserted replaced
992:14ca894190fd 993:b642eca4b956
64 * @param elem_size the size of each element in bytes 64 * @param elem_size the size of each element in bytes
65 * @return the created list 65 * @return the created list
66 */ 66 */
67 cx_attr_nodiscard 67 cx_attr_nodiscard
68 cx_attr_malloc 68 cx_attr_malloc
69 cx_attr_dealloc(cxListDestroy, 1) 69 cx_attr_dealloc(cxListFree, 1)
70 CxList *cxLinkedListCreate( 70 CxList *cxLinkedListCreate(
71 const CxAllocator *allocator, 71 const CxAllocator *allocator,
72 cx_compare_func comparator, 72 cx_compare_func comparator,
73 size_t elem_size 73 size_t elem_size
74 ); 74 );

mercurial