This commit is contained in:
zzy committed 2025-04-01 00:13:21 +08:00
1 parent 2b4857001c
commit 74f43a1ab7
79 files changed
+2271 -2861

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ void init_strpool(strpool_t* pool) {
pool->ht.hash_func = (u32_t(*)(const void*))rt_strhash;
pool->ht.key_cmp = (int(*)(const void*, const void*))rt_strcmp;
hashtable_init(&pool->ht);
init_hashtable(&pool->ht);
}
const char* strpool_intern(strpool_t* pool, const char* str) {