1.1 --- a/ucx/list.h Mon Feb 25 13:25:07 2013 +0100 1.2 +++ b/ucx/list.h Mon Feb 25 16:26:50 2013 +0100 1.3 @@ -18,8 +18,7 @@ 1.4 UcxList *next; 1.5 }; 1.6 1.7 -UcxList *restrict ucx_list_clone(UcxList *restrict l, 1.8 - copy_func fnc, void *data); 1.9 +UcxList *ucx_list_clone(UcxList *l, copy_func fnc, void *data); 1.10 int ucx_list_equals(const UcxList *l1, const UcxList *l2, 1.11 cmp_func fnc, void *data); 1.12 1.13 @@ -30,6 +29,7 @@ 1.14 UcxList *ucx_list_last(const UcxList *l); 1.15 UcxList *ucx_list_get(const UcxList *l, int index); 1.16 size_t ucx_list_size(const UcxList *l); 1.17 +int ucx_list_contains(UcxList *l, void *elem, cmp_func fnc, void *cmpdata); 1.18 1.19 UcxList *ucx_list_sort(UcxList *l, cmp_func fnc, void *data); 1.20