mruby/internal.h: add mrb_env_new to the internal function header

This commit is contained in:
Yukihiro "Matz" Matsumoto
2023-01-18 08:02:50 +09:00
parent e6cf932d38
commit 3a7e138c05
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -110,6 +110,7 @@ void mrb_rational_copy(mrb_state *mrb, mrb_value x, mrb_value y);
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);
#endif
/* range */
-2
View File
@@ -9,8 +9,6 @@
#include <mruby/variable.h>
#include <mruby/internal.h>
struct REnv *mrb_env_new(mrb_state *mrb, struct mrb_context *c, mrb_callinfo *ci, int nstacks, mrb_value *stack, struct RClass *tc);
static struct RProc*
create_proc_from_string(mrb_state *mrb, const char *s, mrb_int len, mrb_value binding, const char *file, mrb_int line)
{