mbed I/F binding for mruby
Dependents: mruby_mbed_web mirb_mbed
mbed-mruby
How to use
Class
Diff: mrbgems/mruby-fiber/gem_init.c
- Revision:
- 0:158c61bb030f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mrbgems/mruby-fiber/gem_init.c Wed Mar 25 17:36:16 2015 +0000 @@ -0,0 +1,22 @@ +/* + * This file is loading the irep + * Ruby GEM code. + * + * IMPORTANT: + * This file was generated! + * All manual changes will get lost. + */ +#include "mruby.h" +void mrb_mruby_fiber_gem_init(mrb_state *mrb); +void mrb_mruby_fiber_gem_final(mrb_state *mrb); + +void GENERATED_TMP_mrb_mruby_fiber_gem_init(mrb_state *mrb) { + int ai = mrb_gc_arena_save(mrb); + mrb_mruby_fiber_gem_init(mrb); + mrb_gc_arena_restore(mrb, ai); +} + +void GENERATED_TMP_mrb_mruby_fiber_gem_final(mrb_state *mrb) { + mrb_mruby_fiber_gem_final(mrb); +} +