Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-05-08 16:58:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-08 16:58:11 +0400
commita9fb183901f7d64bf5435a28bdb454b1f800cf6a (patch)
treee07cd7ff1e3e6e543c2986d2f1e45e4bfe7319cf /source/blender/blenlib/BLI_ghash.h
parentdf664fa6d54ff2bd0d8f218466985986ce522718 (diff)
rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
Diffstat (limited to 'source/blender/blenlib/BLI_ghash.h')
-rw-r--r--source/blender/blenlib/BLI_ghash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h
index d54d4d5272b..4555fa85601 100644
--- a/source/blender/blenlib/BLI_ghash.h
+++ b/source/blender/blenlib/BLI_ghash.h
@@ -132,11 +132,11 @@ void BLI_ghashIterator_step(GHashIterator *ghi);
* \param ghi The iterator.
* \return True if done, False otherwise.
*/
-bool BLI_ghashIterator_notDone(GHashIterator *ghi);
+bool BLI_ghashIterator_done(GHashIterator *ghi);
#define GHASH_ITER(gh_iter_, ghash_) \
for (BLI_ghashIterator_init(&gh_iter_, ghash_); \
- BLI_ghashIterator_notDone(&gh_iter_); \
+ BLI_ghashIterator_done(&gh_iter_) == false; \
BLI_ghashIterator_step(&gh_iter_))
/* *** */