diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-03-07 00:55:04 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-03-07 00:55:04 +0400 |
commit | 53b7bc8f1f7126600f431e63398a7678e643c8ae (patch) | |
tree | 4c8f8bb1e0c7a5723aba9ab24450a8b5392d5964 /source/blender/blenlib/BLI_ghash.h | |
parent | ee9def510513fc9dd8a1e3e46d50cab0470b7e5d (diff) |
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.
Diffstat (limited to 'source/blender/blenlib/BLI_ghash.h')
-rw-r--r-- | source/blender/blenlib/BLI_ghash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h index 82e71f43c35..2ccc28dc07b 100644 --- a/source/blender/blenlib/BLI_ghash.h +++ b/source/blender/blenlib/BLI_ghash.h @@ -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_)) /* *** */ |