Thu, 28 Dec 2023 19:17:45 +0100
fix accidental generation of cxListIterator() symbol
src/list.c | file | annotate | diff | comparison | revisions |
--- a/src/list.c Wed Dec 27 17:28:33 2023 +0100 +++ b/src/list.c Thu Dec 28 19:17:45 2023 +0100 @@ -295,8 +295,8 @@ ) { // lists are definitely different - cannot use internal compare function if (list->size == other->size) { - CxIterator left = cxListIterator(list); - CxIterator right = cxListIterator(other); + CxIterator left = list->cl->iterator(list, 0, false); + CxIterator right = other->cl->iterator(list, 0, false); for (size_t i = 0; i < list->size; i++) { void *leftValue = cxIteratorCurrent(left); void *rightValue = cxIteratorCurrent(right);