mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
proc.c (mrb_proc_eql): define == and eql? for Proc class
This commit is contained in:
@@ -118,6 +118,7 @@ void mrb_proc_merge_lvar(mrb_state *mrb, mrb_irep *irep, struct REnv *env, int n
|
||||
mrb_value mrb_proc_local_variables(mrb_state *mrb, const struct RProc *proc);
|
||||
const struct RProc *mrb_proc_get_caller(mrb_state *mrb, struct REnv **env);
|
||||
mrb_value mrb_proc_get_self(mrb_state *mrb, struct RProc *p, struct RClass **target_class_p);
|
||||
mrb_bool mrb_proc_eql(mrb_state *mrb, mrb_value self, mrb_value other);
|
||||
#endif
|
||||
|
||||
/* range */
|
||||
|
||||
Reference in New Issue
Block a user