mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
export mrb_yield_internal.
This commit is contained in:
@@ -364,6 +364,7 @@ void mrb_print_error(mrb_state *mrb);
|
||||
|
||||
mrb_value mrb_yield(mrb_state *mrb, mrb_value b, mrb_value arg);
|
||||
mrb_value mrb_yield_argv(mrb_state *mrb, mrb_value b, int argc, mrb_value *argv);
|
||||
mrb_value mrb_yield_internal(mrb_state *mrb, mrb_value b, int argc, mrb_value *argv, mrb_value self, struct RClass *c);
|
||||
|
||||
void mrb_gc_protect(mrb_state *mrb, mrb_value obj);
|
||||
mrb_value mrb_to_int(mrb_state *mrb, mrb_value val);
|
||||
|
||||
@@ -59,9 +59,6 @@ nil_to_i(mrb_state *mrb, mrb_value obj)
|
||||
* k.instance_exec(5) {|x| @secret+x } #=> 104
|
||||
*/
|
||||
|
||||
mrb_value
|
||||
mrb_yield_internal(mrb_state *mrb, mrb_value b, int argc, mrb_value *argv, mrb_value self, struct RClass *c);
|
||||
|
||||
static mrb_value
|
||||
mrb_obj_instance_exec(mrb_state *mrb, mrb_value self)
|
||||
{
|
||||
|
||||
@@ -943,8 +943,6 @@ mrb_mod_instance_methods(mrb_state *mrb, mrb_value mod)
|
||||
return mrb_class_instance_method_list(mrb, recur, c, 0);
|
||||
}
|
||||
|
||||
mrb_value mrb_yield_internal(mrb_state *mrb, mrb_value b, int argc, mrb_value *argv, mrb_value self, struct RClass *c);
|
||||
|
||||
/* 15.2.2.4.35 */
|
||||
/*
|
||||
* call-seq:
|
||||
|
||||
@@ -455,8 +455,6 @@ mrb_obj_init_copy(mrb_state *mrb, mrb_value self)
|
||||
return self;
|
||||
}
|
||||
|
||||
mrb_value mrb_yield_internal(mrb_state *mrb, mrb_value b, int argc, mrb_value *argv, mrb_value self, struct RClass *c);
|
||||
|
||||
/* 15.3.1.3.18 */
|
||||
/*
|
||||
* call-seq:
|
||||
|
||||
Reference in New Issue
Block a user