add mrb_closure_new_cfunc to header

This commit is contained in:
Jan Berdajs
2012-12-14 16:00:22 +01:00
parent c81a97df94
commit ab80843880
+1
View File
@@ -49,6 +49,7 @@ struct RProc {
struct RProc *mrb_proc_new(mrb_state*, mrb_irep*);
struct RProc *mrb_proc_new_cfunc(mrb_state*, mrb_func_t);
struct RProc *mrb_closure_new(mrb_state*, mrb_irep*);
struct RProc *mrb_closure_new_cfunc(mrb_state *mrb, mrb_func_t func, int nlocals);
void mrb_proc_copy(struct RProc *a, struct RProc *b);
#include "mruby/khash.h"