add hash iterator functions to access the pointer to the value.

This commit is contained in:
2013-09-02 02:58:53 +00:00
parent 26cbf331a8
commit d59b4752e4
4 changed files with 22 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ void BLI_ghashIterator_free(GHashIterator *ghi);
void *BLI_ghashIterator_getKey(GHashIterator *ghi) ATTR_WARN_UNUSED_RESULT;
void *BLI_ghashIterator_getValue(GHashIterator *ghi) ATTR_WARN_UNUSED_RESULT;
void **BLI_ghashIterator_getValue_p(GHashIterator *ghi) ATTR_WARN_UNUSED_RESULT;
void BLI_ghashIterator_step(GHashIterator *ghi);
bool BLI_ghashIterator_done(GHashIterator *ghi) ATTR_WARN_UNUSED_RESULT;