symbol table key should be mrb_sym, not int32_t

This commit is contained in:
Yukihiro Matsumoto
2012-06-01 09:44:19 +09:00
parent 8180fee180
commit 364e6b5a50
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
#include <stdio.h>
/* ------------------------------------------------------ */
KHASH_MAP_INIT_INT(s2n, const char*);
KHASH_INIT(s2n, mrb_sym, const char*, 1, kh_int_hash_func, kh_int_hash_equal)
KHASH_MAP_INIT_STR(n2s, mrb_sym);
/* ------------------------------------------------------ */
mrb_sym