mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
symbol table key should be mrb_sym, not int32_t
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user