Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It is

always used in that context so we can at least avoid reverting it twice
:p.
This commit is contained in:
2013-03-06 20:55:04 +00:00
parent ee9def5105
commit 53b7bc8f1f
24 changed files with 38 additions and 38 deletions

View File

@@ -130,11 +130,11 @@ void BLI_ghashIterator_step(GHashIterator *ghi);
* \param ghi The iterator.
* \return True if done, False otherwise.
*/
int BLI_ghashIterator_isDone(GHashIterator *ghi);
int BLI_ghashIterator_notDone(GHashIterator *ghi);
#define GHASH_ITER(gh_iter_, ghash_) \
for (BLI_ghashIterator_init(&gh_iter_, ghash_); \
!BLI_ghashIterator_isDone(&gh_iter_); \
BLI_ghashIterator_notDone(&gh_iter_); \
BLI_ghashIterator_step(&gh_iter_))
/* *** */