486:d7ca126eab7f | 487:4bd19279778c |
---|---|
122 */ | 122 */ |
123 size_t cx_linked_list_find( | 123 size_t cx_linked_list_find( |
124 void *start, | 124 void *start, |
125 ptrdiff_t loc_advance, | 125 ptrdiff_t loc_advance, |
126 ptrdiff_t loc_data, | 126 ptrdiff_t loc_data, |
127 int follow_ptr, | 127 bool follow_ptr, |
128 CxListComparator cmp_func, | 128 CxListComparator cmp_func, |
129 void *elem | 129 void *elem |
130 ) __attribute__((__nonnull__)); | 130 ) __attribute__((__nonnull__)); |
131 | 131 |
132 /** | 132 /** |
376 void **begin, | 376 void **begin, |
377 void **end, | 377 void **end, |
378 ptrdiff_t loc_prev, | 378 ptrdiff_t loc_prev, |
379 ptrdiff_t loc_next, | 379 ptrdiff_t loc_next, |
380 ptrdiff_t loc_data, | 380 ptrdiff_t loc_data, |
381 int follow_ptr, | 381 bool follow_ptr, |
382 CxListComparator cmp_func | 382 CxListComparator cmp_func |
383 ) __attribute__((__nonnull__(1, 7))); | 383 ) __attribute__((__nonnull__(1, 7))); |
384 | 384 |
385 | 385 |
386 /** | 386 /** |
398 int cx_linked_list_compare( | 398 int cx_linked_list_compare( |
399 void *begin_left, | 399 void *begin_left, |
400 void *begin_right, | 400 void *begin_right, |
401 ptrdiff_t loc_advance, | 401 ptrdiff_t loc_advance, |
402 ptrdiff_t loc_data, | 402 ptrdiff_t loc_data, |
403 int follow_ptr, | 403 bool follow_ptr, |
404 CxListComparator cmp_func | 404 CxListComparator cmp_func |
405 ) __attribute__((__nonnull__(6))); | 405 ) __attribute__((__nonnull__(6))); |
406 | 406 |
407 /** | 407 /** |
408 * Reverses the order of the nodes in a linked list. | 408 * Reverses the order of the nodes in a linked list. |