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:
@@ -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_))
|
||||
|
||||
/* *** */
|
||||
|
Reference in New Issue
Block a user