summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-11-13 18:38:14 -0500
committerTavian Barnes <tavianator@gmail.com>2011-11-13 18:38:14 -0500
commit955ceeb74e64670a451f86fa04cb6bd9e563b427 (patch)
tree739bbad096f5c582d4628a71ac6be3aeee0f6612 /libdimension/dimension
parent35ba140e863bc516a2cda09df5ccd3782f2d3f3b (diff)
downloaddimension-955ceeb74e64670a451f86fa04cb6bd9e563b427.tar.xz
Get rid of DMNSN_ARRAY_FOREACH_REVERSE.
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)