Use bool macro KHASH_DEFINE and KHASH_DECLARE

This commit is contained in:
ksss
2014-04-02 13:38:06 +00:00
parent de818e9859
commit 8d15ef2e89
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
#include "mruby/error.h"
#include "mruby/data.h"
KHASH_DEFINE(mt, mrb_sym, struct RProc*, 1, kh_int_hash_func, kh_int_hash_equal)
KHASH_DEFINE(mt, mrb_sym, struct RProc*, TRUE, kh_int_hash_func, kh_int_hash_equal)
void
mrb_gc_mark_mt(mrb_state *mrb, struct RClass *c)