forked from mruby/mruby
-
Notifications
You must be signed in to change notification settings - Fork 0
mrb_open
cremno edited this page Sep 10, 2013
·
2 revisions
| Declaration | Definition |
|---|---|
| mruby.h | state.c |
mrb_state *mrb_open(void);Allocates a mrb_state with the default allocation function, initializes the GC and defines the default classes, modules and methods including mrbgems.
None.
Pointer to a mrb_state or NULL if an error has occurred. The "opened" VM should be "closed" with mrb_close.