diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-01-17 19:05:58 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-01-17 19:05:58 +0000 |
commit | 22c526f708c433bfdf7833970eaf0a8d27050ea9 (patch) | |
tree | 97b79d3a1ddf6a40c491e0e64bab2f9adb1147cc /src/hash.h | |
parent | 6e94731fd92d86e74f8c2fa9f679d0e2911fe9c3 (diff) | |
download | libbu++-22c526f708c433bfdf7833970eaf0a8d27050ea9.tar.gz libbu++-22c526f708c433bfdf7833970eaf0a8d27050ea9.tar.bz2 libbu++-22c526f708c433bfdf7833970eaf0a8d27050ea9.tar.xz libbu++-22c526f708c433bfdf7833970eaf0a8d27050ea9.zip |
Added more hash functions, yay hash functions!
Diffstat (limited to '')
-rw-r--r-- | src/hash.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -534,6 +534,12 @@ template<> bool __cmpHashKeys<const int>( const int a, const int b ); | |||
534 | template<> uint32_t __calcHashCode<int>( int k ); | 534 | template<> uint32_t __calcHashCode<int>( int k ); |
535 | template<> bool __cmpHashKeys<int>( int a, int b ); | 535 | template<> bool __cmpHashKeys<int>( int a, int b ); |
536 | 536 | ||
537 | template<> uint32_t __calcHashCode<const unsigned int>( const unsigned int k ); | ||
538 | template<> bool __cmpHashKeys<const unsigned int>( const unsigned int a, const unsigned int b ); | ||
539 | |||
540 | template<> uint32_t __calcHashCode<unsigned int>( unsigned int k ); | ||
541 | template<> bool __cmpHashKeys<unsigned int>( unsigned int a, unsigned int b ); | ||
542 | |||
537 | template<> uint32_t __calcHashCode<const char *>( const char *k ); | 543 | template<> uint32_t __calcHashCode<const char *>( const char *k ); |
538 | template<> bool __cmpHashKeys<const char *>( const char *a, const char *b ); | 544 | template<> bool __cmpHashKeys<const char *>( const char *a, const char *b ); |
539 | 545 | ||