diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-12-14 18:19:38 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-12-14 18:19:38 -0800 |
| commit | 2471b7b668bc11f688acff66f405efd932a29971 (patch) | |
| tree | 0cb5cfb43e188cd25a0750bc973a27a3a55feb40 /include | |
| parent | 3fe5936e20645efd26caed587dd001620309411e (diff) | |
| parent | ab80843880f38123c88bcbf731a5334655cd8fad (diff) | |
| download | mruby-2471b7b668bc11f688acff66f405efd932a29971.tar.gz mruby-2471b7b668bc11f688acff66f405efd932a29971.zip | |
Merge pull request #630 from mrbrdo/master
mrb_closure_new_cfunc proc.h
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/proc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/proc.h b/include/mruby/proc.h index 96f7ddbd7..745d56b6b 100644 --- a/include/mruby/proc.h +++ b/include/mruby/proc.h @@ -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" |
