src/cx/list.h

changeset 698
7345ee0a0301
parent 681
502105523db7
child 699
35b2b99ee523
equal deleted inserted replaced
697:ebdce4bf262b 698:7345ee0a0301
567 * 567 *
568 * Determining equality is performed by the list's comparator function. 568 * Determining equality is performed by the list's comparator function.
569 * 569 *
570 * @param list the list 570 * @param list the list
571 * @param elem the element to find 571 * @param elem the element to find
572 * @return the index of the element or \c (size+1) if the element is not found 572 * @return the index of the element or \c size if the element is not found
573 */ 573 */
574 __attribute__((__nonnull__)) 574 __attribute__((__nonnull__))
575 static inline size_t cxListFind( 575 static inline size_t cxListFind(
576 CxList const *list, 576 CxList const *list,
577 void const *elem 577 void const *elem

mercurial