mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use bool macro KHASH_DEFINE and KHASH_DECLARE
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user