diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-11-17 05:21:14 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-11-17 07:30:34 +0900 |
| commit | 4440566b9522ae5ff6b2bce7b3d8ecd232304eea (patch) | |
| tree | 5e700a8669d559239d1e1d044a4b32f7723de7d4 /src/codedump.c | |
| parent | 1dfe38bea0bd1e4c82149aa9fea90dd4e796af38 (diff) | |
| download | mruby-4440566b9522ae5ff6b2bce7b3d8ecd232304eea.tar.gz mruby-4440566b9522ae5ff6b2bce7b3d8ecd232304eea.zip | |
DISABLE_STDIO/ENABLE_DEBUG macros to rename; close #3014
changes:
* rename DISABLE_STDIO -> MRB_DISABLE_STDIO
* rename ENABLE_DEBUG -> MRB_ENABLE_DEBUG_HOOK
* no more opposite macro definitions (e.g. ENABLE_STDIO, DISABLE_DEBUG).
* rewrite above macro references throughout the code.
* update documents
Diffstat (limited to 'src/codedump.c')
| -rw-r--r-- | src/codedump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codedump.c b/src/codedump.c index d87c729f9..6db5c6596 100644 --- a/src/codedump.c +++ b/src/codedump.c @@ -5,7 +5,7 @@ #include "mruby/string.h" #include "mruby/proc.h" -#ifdef ENABLE_STDIO +#ifndef MRB_DISABLE_STDIO static int print_r(mrb_state *mrb, mrb_irep *irep, size_t n, int pre) { @@ -53,7 +53,7 @@ print_lv(mrb_state *mrb, mrb_irep *irep, mrb_code c, int r) static void codedump(mrb_state *mrb, mrb_irep *irep) { -#ifdef ENABLE_STDIO +#ifndef MRB_DISABLE_STDIO int i; int ai; mrb_code c; |
