diff -r 1aa21afb8763 -r 56e76fbac167 src/cx/iterator.h --- a/src/cx/iterator.h Tue Dec 30 13:50:55 2025 +0100 +++ b/src/cx/iterator.h Tue Dec 30 21:44:23 2025 +0100 @@ -179,16 +179,6 @@ #define cxIteratorFlagRemoval(iter) ((iter).base.remove = (iter).base.allow_remove) /** - * Obtains a reference to an arbitrary iterator. - * - * This is useful for APIs that expect some iterator as an argument. - * - * @param iter the iterator - * @return (@c struct @c cx_iterator_base_s*) a pointer to the iterator - */ -#define cxIteratorRef(iter) &((iter).base) - -/** * Loops over an iterator. * * @param type the type of the elements