mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
remove unused mrb_exec_recursive
This commit is contained in:
@@ -469,8 +469,6 @@ mrb_value mrb_yield_with_self(mrb_state *mrb, mrb_value b, int argc, mrb_value *
|
||||
mrb_value mrb_class_new_instance(mrb_state *mrb, int, mrb_value*, struct RClass *);
|
||||
mrb_value mrb_class_new_instance_m(mrb_state *mrb, mrb_value klass);
|
||||
|
||||
mrb_value mrb_exec_recursive(mrb_state *mrb, mrb_value(*)(mrb_state *, mrb_value, mrb_value, int),mrb_value,void *);
|
||||
|
||||
#ifndef xmalloc
|
||||
#define xmalloc malloc
|
||||
#define xrealloc realloc
|
||||
|
||||
@@ -111,14 +111,6 @@ mrb_exec_recursive(mrb_state *mrb, mrb_value (*func) (mrb_state *, mrb_value, mr
|
||||
* current method is called recursively on the ordered pair <obj, paired_obj>
|
||||
*/
|
||||
|
||||
mrb_value
|
||||
mrb_exec_recursive_paired(mrb_state *mrb, mrb_value (*func) (mrb_state *, mrb_value, mrb_value, int),
|
||||
mrb_value obj, mrb_value paired_obj, void* arg)
|
||||
{
|
||||
// return mrb_exec_recursive_paired(mrb, recursive_eql, hash1, hash2, mrb_fixnum_value((int)&data));
|
||||
return func(mrb, obj, paired_obj, 0);
|
||||
}
|
||||
|
||||
mrb_sym
|
||||
mrb_to_id(mrb_state *mrb, mrb_value name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user