src/cx/linked_list.h

changeset 1239
b4b1f15d1866
parent 1180
4c3a69b9723a
equal deleted inserted replaced
1238:26299ce9c955 1239:b4b1f15d1866
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) \

mercurial