src/cx/list.h

changeset 621
646e38efc7bc
parent 618
1f5a8f6f3015
child 628
1e2be40f0cb5
equal deleted inserted replaced
620:f220695aded6 621:646e38efc7bc
358 * @param elem the element to find 358 * @param elem the element to find
359 * @return the index of the element or \c (size+1) if the element is not found 359 * @return the index of the element or \c (size+1) if the element is not found
360 */ 360 */
361 __attribute__((__nonnull__)) 361 __attribute__((__nonnull__))
362 static inline size_t cxListFind( 362 static inline size_t cxListFind(
363 CxList *list, 363 CxList const *list,
364 void const *elem 364 void const *elem
365 ) { 365 ) {
366 return list->cl->find(list, elem); 366 return list->cl->find(list, elem);
367 } 367 }
368 368

mercurial