summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/array.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/libdimension/dimension/array.h b/libdimension/dimension/array.h
index dab4d74..e0a0f08 100644
--- a/libdimension/dimension/array.h
+++ b/libdimension/dimension/array.h
@@ -308,14 +308,3 @@ dmnsn_array_sort(dmnsn_array *array, dmnsn_array_comparator_fn *comparator)
for (type i = dmnsn_array_first(array); \
(size_t)(i - (type)dmnsn_array_first(array)) < dmnsn_array_size(array); \
++i)
-
-/**
- * Iterate over an array, in reverse order.
- * @param type The (pointer) type to use as an iterator.
- * @param i The name of the iterator within the loop body.
- * @param[in] array The array to loop over.
- */
-#define DMNSN_ARRAY_FOREACH_REVERSE(type, i, array) \
- for (type i = dmnsn_array_last(array); \
- i - (type)dmnsn_array_first(array) >= 0; \
- --i)