| 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 ); |