Skip to content

Commit 28ccb7f

Browse files
committed
updated comment for struct dictType
1 parent a73ce07 commit 28ccb7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dict.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ typedef struct dictEntry {
7171
* 特定于类型的一簇处理函数
7272
*/
7373
typedef struct dictType {
74-
// 计算键的哈希值函数
74+
// 计算键的哈希值函数, 计算key在hash table中的存储位置,不同的dict可以有不同的hash function.
7575
unsigned int (*hashFunction)(const void *key);
7676
// 复制键的函数
7777
void *(*keyDup)(void *privdata, const void *key);

0 commit comments

Comments
 (0)