75 * to call functions that need a comparator, you must either set one immediately |
75 * to call functions that need a comparator, you must either set one immediately |
76 * after list creation or use cxLinkedListCreate(). |
76 * after list creation or use cxLinkedListCreate(). |
77 * |
77 * |
78 * If @p elem_size is #CX_STORE_POINTERS, the created list stores pointers instead of |
78 * If @p elem_size is #CX_STORE_POINTERS, the created list stores pointers instead of |
79 * copies of the added elements and the compare function will be automatically set |
79 * copies of the added elements and the compare function will be automatically set |
80 * to cx_cmp_ptr(), if none is given. |
80 * to cx_cmp_ptr(). |
81 * |
81 * |
82 * @param elem_size (@c size_t) the size of each element in bytes |
82 * @param elem_size (@c size_t) the size of each element in bytes |
83 * @return (@c CxList*) the created list |
83 * @return (@c CxList*) the created list |
84 */ |
84 */ |
85 #define cxLinkedListCreateSimple(elem_size) \ |
85 #define cxLinkedListCreateSimple(elem_size) \ |