提交 e0be2289 编写于 作者: A antirez

hash table example commented out in dict.c

上级 b3aa6d71
......@@ -615,6 +615,12 @@ void dictDisableResize(void) {
dict_can_resize = 0;
}
#if 0
/* The following are just example hash table types implementations.
* Not useful for Redis so they are commented out.
*/
/* ----------------------- StringCopy Hash Table Type ------------------------*/
static unsigned int _dictStringCopyHTHashFunction(const void *key)
......@@ -678,3 +684,4 @@ dictType dictTypeHeapStringCopyKeyValue = {
_dictStringDestructor, /* key destructor */
_dictStringDestructor, /* val destructor */
};
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册