diff options
author | Baruch Sterin <baruchs@gmail.com> | 2011-02-15 16:50:12 -0800 |
---|---|---|
committer | Baruch Sterin <baruchs@gmail.com> | 2011-02-15 16:50:12 -0800 |
commit | 9d02679ef74389e18479a732da2b55bc97c0de83 (patch) | |
tree | 0c5286e3512971e3c84d3eb87a78b3655fcb211d /src/misc/hash | |
parent | a7e214bb01085492e330186295a71da35846a6b7 (diff) | |
download | abc-9d02679ef74389e18479a732da2b55bc97c0de83.tar.gz abc-9d02679ef74389e18479a732da2b55bc97c0de83.tar.bz2 abc-9d02679ef74389e18479a732da2b55bc97c0de83.zip |
fixes for dumb erros in utilSignal.c/h
Diffstat (limited to 'src/misc/hash')
-rw-r--r-- | src/misc/hash/hashGen.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/misc/hash/hashGen.h b/src/misc/hash/hashGen.h index fc1b82c3..e26a3c84 100644 --- a/src/misc/hash/hashGen.h +++ b/src/misc/hash/hashGen.h @@ -50,14 +50,17 @@ struct Hash_Gen_Entry_t_ struct Hash_Gen_Entry_t_ * pNext; }; +typedef int (*Hash_GenHashFunction_t)(void* key, int nBins); +typedef int (*Hash_GenCompFunction_t)(void* key, void* data); + struct Hash_Gen_t_ { int nSize; int nBins; - int (* fHash)(void *key, int nBins); - int (* fComp)(void *key, void *data); + Hash_GenHashFunction_t fHash; + Hash_GenCompFunction_t fComp; int fFreeKey; - Hash_Gen_Entry_t ** pArray; + Hash_Gen_Entry_t ** pArray; }; |