Prints more informative comments if the hash type is not defined or MD5.

This commit is contained in:
Andrea Mazzoleni 2013-01-30 19:26:38 +01:00
parent 452f88795f
commit 91752b255b
3 changed files with 21 additions and 6 deletions

3
util.h
View file

@ -372,8 +372,9 @@ void* malloc_nofail_align(size_t size, void** freeptr);
/**
* Hash kinds.
*/
#define HASH_MURMUR3 0
#define HASH_UNDEFINED 0
#define HASH_MD5 1
#define HASH_MURMUR3 2
/**
* Computes the HASH of a memory block.