summaryrefslogtreecommitdiffstats
path: root/src/misc/vec/vecFan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/vec/vecFan.h')
-rw-r--r--src/misc/vec/vecFan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc/vec/vecFan.h b/src/misc/vec/vecFan.h
index 7bfded4a..451724d6 100644
--- a/src/misc/vec/vecFan.h
+++ b/src/misc/vec/vecFan.h
@@ -57,6 +57,8 @@ struct Vec_Fan_t_
/// MACRO DEFITIONS ///
////////////////////////////////////////////////////////////////////////
+#define Vec_FanForEachEntry( vVec, Entry, i ) \
+ for ( i = 0; (i < Vec_FanSize(vVec)) && (((Entry) = Vec_FanEntry(vVec, i)), 1); i++ )
////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFITIONS ///