summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-02-01 10:12:29 +0900
committerGitHub <[email protected]>2021-02-01 10:12:29 +0900
commit5cce4ad433abfe806e9bb9438a7ec5e8e8662828 (patch)
treeb5d24ea137de131d1a0283e3e6ff3c3ececbd76c
parent874f828a7adc074234acd826c51dfe73bbb52e1b (diff)
parent1fc8e00e4a62695e51d9f4c61e2e5f6f033d2338 (diff)
downloadmruby-5cce4ad433abfe806e9bb9438a7ec5e8e8662828.tar.gz
mruby-5cce4ad433abfe806e9bb9438a7ec5e8e8662828.zip
Merge pull request #5315 from shuujii/use-mrb_open_core-instead-of-mrb_open--in-mrbc
Use `mrb_open_core()` instead of `mrb_open()` in `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;