--- a/src/cx/list.h Fri Oct 17 15:04:56 2025 +0200 +++ b/src/cx/list.h Fri Oct 17 16:53:24 2025 +0200 @@ -791,35 +791,6 @@ CX_EXPORT CxIterator cxListBackwardsIteratorAt(const CxList *list, size_t index); /** - * Returns a mutating iterator pointing to the item at the specified index. - * - * The returned iterator is position-aware. - * - * If the index is out of range or @p list is @c NULL, a past-the-end iterator will be returned. - * - * @param list the list - * @param index the index where the iterator shall point at - * @return a new iterator - */ -cx_attr_nodiscard -CX_EXPORT CxIterator cxListMutIteratorAt(CxList *list, size_t index); - -/** - * Returns a mutating backwards iterator pointing to the item at the - * specified index. - * - * The returned iterator is position-aware. - * - * If the index is out of range or @p list is @c NULL, a past-the-end iterator will be returned. - * - * @param list the list - * @param index the index where the iterator shall point at - * @return a new iterator - */ -cx_attr_nodiscard -CX_EXPORT CxIterator cxListMutBackwardsIteratorAt(CxList *list, size_t index); - -/** * Returns an iterator pointing to the first item of the list. * * The returned iterator is position-aware. @@ -833,19 +804,6 @@ CX_EXPORT CxIterator cxListIterator(const CxList *list); /** - * Returns a mutating iterator pointing to the first item of the list. - * - * The returned iterator is position-aware. - * - * If the list is empty or @c NULL, a past-the-end iterator will be returned. - * - * @param list the list - * @return a new iterator - */ -cx_attr_nodiscard -CX_EXPORT CxIterator cxListMutIterator(CxList *list); - -/** * Returns a backwards iterator pointing to the last item of the list. * * The returned iterator is position-aware. @@ -859,19 +817,6 @@ CX_EXPORT CxIterator cxListBackwardsIterator(const CxList *list); /** - * Returns a mutating backwards iterator pointing to the last item of the list. - * - * The returned iterator is position-aware. - * - * If the list is empty or @c NULL, a past-the-end iterator will be returned. - * - * @param list the list - * @return a new iterator - */ -cx_attr_nodiscard -CX_EXPORT CxIterator cxListMutBackwardsIterator(CxList *list); - -/** * Returns the index of the first element that equals @p elem. * * Determining equality is performed by the list's comparator function.