mruby/internal.h: move functions from internal.h; #5725

To compile `iij/mruby-require` gem.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-06-23 07:52:28 +09:00
parent 01392e2719
commit cd6e94c09f
4 changed files with 7 additions and 6 deletions
+1
View File
@@ -88,6 +88,7 @@ struct RProc {
#define mrb_proc_ptr(v) ((struct RProc*)(mrb_ptr(v)))
struct RProc *mrb_proc_new(mrb_state*, const mrb_irep*);
MRB_API struct RProc *mrb_proc_new_cfunc(mrb_state*, mrb_func_t);
MRB_API struct RProc *mrb_closure_new_cfunc(mrb_state *mrb, mrb_func_t func, int nlocals);