示例#1
0
文件: string.c 项目: headius/jato
void init_literals_hash_map(void)
{
	literals = alloc_hash_map(&string_obj_key_ops);
	if (!literals)
		error("failed to initialize literals hash map");
}
示例#2
0
文件: string.c 项目: siam/jato
void init_literals_hash_map(void)
{
	literals = alloc_hash_map(1000, string_obj_hash, string_obj_comparator);
	if (!literals)
		error("failed to initialize literals hash map");
}