internal.h: move function prototypes to <mruby/internal.h>

This commit is contained in:
Yukihiro "Matz" Matsumoto
2023-03-14 11:06:44 +09:00
parent 2d975d59ce
commit 0d07af104b
4 changed files with 3 additions and 7 deletions
+3
View File
@@ -114,6 +114,9 @@ struct RProc *mrb_closure_new(mrb_state*, const mrb_irep*);
void mrb_proc_copy(mrb_state *mrb, struct RProc *a, struct RProc *b);
mrb_int mrb_proc_arity(const struct RProc *p);
struct REnv *mrb_env_new(mrb_state *mrb, struct mrb_context *c, mrb_callinfo *ci, int nstacks, mrb_value *stack, struct RClass *tc);
void mrb_proc_merge_lvar(mrb_state *mrb, mrb_irep *irep, struct REnv *env, int num, const mrb_sym *lv, const mrb_value *stack);
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);
#endif
/* range */