simpify mruby/mrbc using context

This commit is contained in:
Yukihiro Matsumoto
2012-07-13 15:36:43 +09:00
parent 737eaea038
commit 8e1c842b7e
4 changed files with 56 additions and 62 deletions
+2
View File
@@ -22,6 +22,8 @@ typedef struct mrbc_context {
char *filename;
int lineno;
int capture_errors:1;
int dump_result:1;
int no_exec:1;
} mrbc_context;
mrbc_context* mrbc_context_new(mrb_state *mrb);