Mercurial > hg > th-libs
changeset 762:6d3632306728
Reorder.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 05 Feb 2023 19:41:05 +0200 |
parents | 2263dd13cf2d |
children | c6b2546d3ae3 |
files | th_datastruct.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/th_datastruct.h Sun Feb 05 19:40:14 2023 +0200 +++ b/th_datastruct.h Sun Feb 05 19:41:05 2023 +0200 @@ -48,8 +48,8 @@ void th_llist_foreach(th_llist_t *list, void (*func)(th_llist_t *node, void *userdata), void *data); int th_llist_foreach_cond(th_llist_t *list, int (*func)(th_llist_t *node, void *userdata), void *data, th_llist_t **res); +th_llist_t * th_llist_find_func(th_llist_t *list, const void *userdata, int (compare)(const void *, const void *)); th_llist_t * th_llist_find_data(th_llist_t *list, const void *data); -th_llist_t * th_llist_find_func(th_llist_t *list, const void *userdata, int (compare)(const void *, const void *)); void th_llist_mergesort(th_llist_t **list, int (compare)(const th_llist_t *lnode, const th_llist_t *rnode, void *userdata),