mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add init function for gems to init of core
This commit is contained in:
@@ -27,6 +27,7 @@ void mrb_init_print(mrb_state*);
|
||||
void mrb_init_time(mrb_state*);
|
||||
void mrb_init_math(mrb_state*);
|
||||
void mrb_init_mrblib(mrb_state*);
|
||||
void mrb_init_mrbgems(mrb_state*);
|
||||
|
||||
|
||||
void
|
||||
@@ -66,6 +67,7 @@ mrb_init_core(mrb_state *mrb)
|
||||
#endif
|
||||
|
||||
mrb_init_mrblib(mrb);
|
||||
mrb_init_mrbgems(mrb);
|
||||
|
||||
mrb_gc_arena_restore(mrb, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user