提交 ebff44b8 编写于 作者: G Geoff Thorpe

Sync up with a minor change in lhash.h

上级 c0e7c3aa
...@@ -47,7 +47,7 @@ per-variable casts before calling the type-specific callbacks written ...@@ -47,7 +47,7 @@ per-variable casts before calling the type-specific callbacks written
by the application author. These macros are defined as; by the application author. These macros are defined as;
#define DECLARE_LHASH_HASH_FN(f_name,o_type) \ #define DECLARE_LHASH_HASH_FN(f_name,o_type) \
unsigned long f_name##_LHASH_HASH(void *) unsigned long f_name##_LHASH_HASH(void *);
#define IMPLEMENT_LHASH_HASH_FN(f_name,o_type) \ #define IMPLEMENT_LHASH_HASH_FN(f_name,o_type) \
unsigned long f_name##_LHASH_HASH(void *arg) { \ unsigned long f_name##_LHASH_HASH(void *arg) { \
o_type a = (o_type)arg; \ o_type a = (o_type)arg; \
...@@ -55,7 +55,7 @@ by the application author. These macros are defined as; ...@@ -55,7 +55,7 @@ by the application author. These macros are defined as;
#define LHASH_HASH_FN(f_name) f_name##_LHASH_HASH #define LHASH_HASH_FN(f_name) f_name##_LHASH_HASH
#define DECLARE_LHASH_COMP_FN(f_name,o_type) \ #define DECLARE_LHASH_COMP_FN(f_name,o_type) \
int f_name##_LHASH_COMP(void *, void *) int f_name##_LHASH_COMP(void *, void *);
#define IMPLEMENT_LHASH_COMP_FN(f_name,o_type) \ #define IMPLEMENT_LHASH_COMP_FN(f_name,o_type) \
int f_name##_LHASH_COMP(void *arg1, void *arg2) { \ int f_name##_LHASH_COMP(void *arg1, void *arg2) { \
o_type a = (o_type)arg1; \ o_type a = (o_type)arg1; \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册