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 |