diff -r dfd0403ff8b6 -r 2e6e9d9f2159 src/list.c --- a/src/list.c Wed Feb 08 18:56:58 2023 +0100 +++ b/src/list.c Wed Feb 08 20:26:09 2023 +0100 @@ -95,6 +95,14 @@ return list->climpl->remove(list, index); } +static int cx_pl_swap( + struct cx_list_s *list, + size_t i, + size_t j +) { + return list->climpl->swap(list, i, j); +} + static void *cx_pl_at( struct cx_list_s const *list, size_t index @@ -155,6 +163,7 @@ cx_pl_insert_array, cx_pl_insert_iter, cx_pl_remove, + cx_pl_swap, cx_pl_at, cx_pl_find, cx_pl_sort,