proc.h: stop including khash.h which is no longer used

Instead, we need to include <string.h> explicitly.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-03-20 23:47:06 +09:00
parent 81e8617d02
commit 0786b24528
+1 -3
View File
@@ -9,6 +9,7 @@
#include "common.h"
#include <mruby/irep.h>
#include <string.h>
/**
* Proc class
@@ -134,9 +135,6 @@ MRB_API mrb_value mrb_proc_cfunc_env_get(mrb_state *mrb, mrb_int idx);
#define MRB_METHOD_CFUNC_P(m) (MRB_METHOD_FUNC_P(m)?TRUE:(MRB_METHOD_PROC(m)?(MRB_PROC_CFUNC_P(MRB_METHOD_PROC(m))):FALSE))
#define MRB_METHOD_CFUNC(m) (MRB_METHOD_FUNC_P(m)?MRB_METHOD_FUNC(m):((MRB_METHOD_PROC(m)&&MRB_PROC_CFUNC_P(MRB_METHOD_PROC(m)))?MRB_PROC_CFUNC(MRB_METHOD_PROC(m)):NULL))
#include <mruby/khash.h>
MRB_API mrb_value mrb_load_proc(mrb_state *mrb, const struct RProc *proc);
/**