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:
@@ -64,7 +64,7 @@ struct RProc *mrb_proc_new_cfunc_with_env(mrb_state*, mrb_func_t, mrb_int, const
|
||||
mrb_value mrb_cfunc_env_get(mrb_state*, mrb_int);
|
||||
|
||||
#include "mruby/khash.h"
|
||||
KHASH_DECLARE(mt, mrb_sym, struct RProc*, 1)
|
||||
KHASH_DECLARE(mt, mrb_sym, struct RProc*, TRUE)
|
||||
|
||||
#if defined(__cplusplus)
|
||||
} /* extern "C" { */
|
||||
|
||||
Reference in New Issue
Block a user