Add the hashtable based on uthash.h to docs

This commit is contained in:
krahets
2023-04-18 21:19:57 +08:00
parent dbc4906582
commit 661603d467
5 changed files with 13 additions and 10 deletions
+3 -3
View File
@@ -8,9 +8,9 @@
/* 哈希表 */
struct hashTable {
int key; // key 为 int 型
void *val; // val 为 void * 型
UT_hash_handle hh; // 借助 uthash 实现的哈希表
int key;
void *val;
UT_hash_handle hh; // 基于 uthash.h 实现
};
typedef struct hashTable hashTable;