From 7da0ef9a0ddda0ebb458d091596d102c34047d61 Mon Sep 17 00:00:00 2001 From: Shinya Sato Date: Wed, 6 Oct 2021 16:49:49 +0900 Subject: Comments were rewritten in English. --- src/name_table.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/name_table.h') diff --git a/src/name_table.h b/src/name_table.h index c7f885d..588c34d 100644 --- a/src/name_table.h +++ b/src/name_table.h @@ -8,6 +8,11 @@ /************************************** NAME TABLE **************************************/ +/* + NameTable[] <-- hashtable + NameTable[hash] <-- NameList(linear list) +*/ + typedef struct NameList { char *name; // KEY @@ -21,7 +26,7 @@ typedef struct NameList { } NameList; #define NAME_HASHSIZE 127 -static NameList *NameHashTable[NAME_HASHSIZE]; /* ハッシュテーブル本体 */ +static NameList *NameHashTable[NAME_HASHSIZE]; // HashTable for name strings // It should be called at first, and never called after that. void NameTable_init(); -- cgit v1.2.3