Move hash_combine utility function to a more generic place

This way everyone can benefit from it, not only dependency graph.
This commit is contained in:
2017-05-30 11:09:44 +02:00
parent fb82948043
commit 15692c8cfe
7 changed files with 13 additions and 51 deletions

View File

@@ -167,6 +167,8 @@ unsigned int BLI_ghashutil_inthash_p_murmur(const void *ptr);
unsigned int BLI_ghashutil_inthash_p_simple(const void *ptr);
bool BLI_ghashutil_intcmp(const void *a, const void *b);
size_t BLI_ghashutil_combine_hash(size_t hash_a, size_t hash_b);
unsigned int BLI_ghashutil_uinthash_v4(const unsigned int key[4]);
#define BLI_ghashutil_inthash_v4(key) ( \