diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2010-11-29 01:40:49 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2010-11-29 01:40:49 -0800 |
commit | ffb04d244ffe5b8372e5877669195896be06c9c2 (patch) | |
tree | 73fcfd9cb95d1f260e8e1a44f2c1c96431714b57 /src/misc | |
parent | f404f9ffb49b307a52deeb92108249430afaf5ed (diff) | |
download | abc-ffb04d244ffe5b8372e5877669195896be06c9c2.tar.gz abc-ffb04d244ffe5b8372e5877669195896be06c9c2.tar.bz2 abc-ffb04d244ffe5b8372e5877669195896be06c9c2.zip |
Code formatting change
Diffstat (limited to 'src/misc')
-rw-r--r-- | src/misc/vec/vecVec.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/misc/vec/vecVec.h b/src/misc/vec/vecVec.h index 8915329b..18f6d75c 100644 --- a/src/misc/vec/vecVec.h +++ b/src/misc/vec/vecVec.h @@ -60,28 +60,28 @@ struct Vec_Vec_t_ for ( i = LevelStart; (i <= LevelStop) && (((vVec) = (Vec_Ptr_t*)Vec_VecEntry(vGlob, i)), 1); i++ ) #define Vec_VecForEachLevelReverse( vGlob, vVec, i ) \ for ( i = Vec_VecSize(vGlob) - 1; (i >= 0) && (((vVec) = (Vec_Ptr_t*)Vec_VecEntry(vGlob, i)), 1); i-- ) -#define Vec_VecForEachLevelReverseStartStop( vGlob, vVec, i, LevelStart, LevelStop ) \ +#define Vec_VecForEachLevelReverseStartStop( vGlob, vVec, i, LevelStart, LevelStop ) \ for ( i = LevelStart; (i >= LevelStop) && (((vVec) = (Vec_Ptr_t*)Vec_VecEntry(vGlob, i)), 1); i-- ) // iteratores through entries -#define Vec_VecForEachEntry( Type, vGlob, pEntry, i, k ) \ +#define Vec_VecForEachEntry( Type, vGlob, pEntry, i, k ) \ for ( i = 0; i < Vec_VecSize(vGlob); i++ ) \ Vec_PtrForEachEntry( Type, (Vec_Ptr_t *)Vec_VecEntry(vGlob, i), pEntry, k ) -#define Vec_VecForEachEntryLevel( Type, vGlob, pEntry, i, Level ) \ +#define Vec_VecForEachEntryLevel( Type, vGlob, pEntry, i, Level ) \ Vec_PtrForEachEntry( Type, (Vec_Ptr_t *)Vec_VecEntry(vGlob, Level), pEntry, i ) -#define Vec_VecForEachEntryStart( Type, vGlob, pEntry, i, k, LevelStart ) \ +#define Vec_VecForEachEntryStart( Type, vGlob, pEntry, i, k, LevelStart ) \ for ( i = LevelStart; i < Vec_VecSize(vGlob); i++ ) \ Vec_PtrForEachEntry( Type, (Vec_Ptr_t *)Vec_VecEntry(vGlob, i), pEntry, k ) -#define Vec_VecForEachEntryStartStop( Type, vGlob, pEntry, i, k, LevelStart, LevelStop ) \ +#define Vec_VecForEachEntryStartStop( Type, vGlob, pEntry, i, k, LevelStart, LevelStop ) \ for ( i = LevelStart; i <= LevelStop; i++ ) \ Vec_PtrForEachEntry( Type, (Vec_Ptr_t *)Vec_VecEntry(vGlob, i), pEntry, k ) -#define Vec_VecForEachEntryReverse( Type, vGlob, pEntry, i, k ) \ +#define Vec_VecForEachEntryReverse( Type, vGlob, pEntry, i, k ) \ for ( i = 0; i < Vec_VecSize(vGlob); i++ ) \ Vec_PtrForEachEntryReverse( Type, (Vec_Ptr_t *)Vec_VecEntry(vGlob, i), pEntry, k ) -#define Vec_VecForEachEntryReverseReverse( Type, vGlob, pEntry, i, k ) \ +#define Vec_VecForEachEntryReverseReverse( Type, vGlob, pEntry, i, k ) \ for ( i = Vec_VecSize(vGlob) - 1; i >= 0; i-- ) \ Vec_PtrForEachEntryReverse( Type, (Vec_Ptr_t *)Vec_VecEntry(vGlob, i), pEntry, k ) -#define Vec_VecForEachEntryReverseStart( Type, vGlob, pEntry, i, k, LevelStart ) \ +#define Vec_VecForEachEntryReverseStart( Type, vGlob, pEntry, i, k, LevelStart ) \ for ( i = LevelStart; i >= 0; i-- ) \ Vec_PtrForEachEntry( Type, (Vec_Ptr_t *)Vec_VecEntry(vGlob, i), pEntry, k ) |