internal.h: aggregate prototypes to internal.h.
mrb_f_send()
mrb_ci_nregs()
MODIFY
include/mruby/internal.h
include/mruby/internal.h
@@ -155,9 +155,11 @@ void mrb_gc_free_iv(mrb_state*, struct RObject*);
/* VM */
mrb_int mrb_ci_bidx(mrb_callinfo *ci);
+mrb_int mrb_ci_nregs(mrb_callinfo *ci);
mrb_value mrb_exec_irep(mrb_state *mrb, mrb_value self, struct RProc *p);
mrb_value mrb_obj_instance_eval(mrb_state*, mrb_value);
mrb_value mrb_mod_module_eval(mrb_state*, mrb_value);
+mrb_value mrb_f_send(mrb_state *mrb, mrb_value self);
#ifdef MRB_USE_BIGINT
mrb_value mrb_bint_new_int(mrb_state *mrb, mrb_int x);

MODIFY
mrbgems/mruby-metaprog/src/metaprog.c
mrbgems/mruby-metaprog/src/metaprog.c
@@ -665,9 +665,6 @@ mrb_mod_s_nesting(mrb_state *mrb, mrb_value mod)
return ary;
}
-/* implementation of #send method */
-mrb_value mrb_f_send(mrb_state *mrb, mrb_value self);
-
void
mrb_mruby_metaprog_gem_init(mrb_state* mrb)
{

MODIFY
src/class.c
src/class.c
@@ -2963,9 +2963,6 @@ init_class_new(mrb_state *mrb, struct RClass *cls)
mrb_define_method_raw(mrb, cls, MRB_SYM(new), m);
}
-/* implementation of #send method */
-mrb_value mrb_f_send(mrb_state *mrb, mrb_value self);
-
void
mrb_init_class(mrb_state *mrb)
{

MODIFY
src/gc.c
src/gc.c
@@ -612,8 +612,6 @@ add_gray_list(mrb_state *mrb, mrb_gc *gc, struct RBasic *obj)
gc->gray_list = obj;
}
-mrb_int mrb_ci_nregs(mrb_callinfo *ci);
-
static void
mark_context_stack(mrb_state *mrb, struct mrb_context *c)
{

internal.h: aggregate prototypes to internal.h.

- mrb_f_send()
- mrb_ci_nregs()