summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-mrbc
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2021-01-31 22:37:27 +0900
committerKOBAYASHI Shuji <[email protected]>2021-01-31 22:37:27 +0900
commit1fc8e00e4a62695e51d9f4c61e2e5f6f033d2338 (patch)
treea32478f4f9b2eeb6c4f0e91699e8ce67cd9d02fb /mrbgems/mruby-bin-mrbc
parent406159d41231302efc6731bda5634f5a9fa69bad (diff)
downloadmruby-1fc8e00e4a62695e51d9f4c61e2e5f6f033d2338.tar.gz
mruby-1fc8e00e4a62695e51d9f4c61e2e5f6f033d2338.zip
Use `mrb_open_core()` instead of `mrb_open()` in `mrbc`
Diffstat (limited to 'mrbgems/mruby-bin-mrbc')
-rw-r--r--mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c b/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c
index 29f5a5c1d..31a4e6fa1 100644
--- a/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c
+++ b/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c
@@ -271,7 +271,7 @@ dump_file(mrb_state *mrb, FILE *wfp, const char *outfile, struct RProc *proc, st
int
main(int argc, char **argv)
{
- mrb_state *mrb = mrb_open();
+ mrb_state *mrb = mrb_open_core(NULL, NULL);
int n, result;
struct mrbc_args args;
FILE *wfp;