src/cx/iterator.h

changeset 1681
56e76fbac167
parent 1675
36c0fb2b60b2
--- 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

mercurial