diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-14 04:51:14 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-14 04:51:14 -0700 |
| commit | ce1756b3b6a23050d96d49aef64a7f964e8bc75f (patch) | |
| tree | d6a5e4741a5bd045d2eb3c3c4cb194310454e892 /tools | |
| parent | 38571fd76994806ee33b1fa2400d1de92de7bdb7 (diff) | |
| parent | 1ffc9ba3255f8b63164c42ea8304115f5a6b2464 (diff) | |
| download | mruby-ce1756b3b6a23050d96d49aef64a7f964e8bc75f.tar.gz mruby-ce1756b3b6a23050d96d49aef64a7f964e8bc75f.zip | |
Merge pull request #997 from monaka/pr-add-type-mrb_bool_t
Define mrb_bool_t.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/mrbc/mrbc.c | 4 | ||||
| -rw-r--r-- | tools/mruby/mruby.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/mrbc/mrbc.c b/tools/mrbc/mrbc.c index 698586ec0..09ab2ca1d 100644 --- a/tools/mrbc/mrbc.c +++ b/tools/mrbc/mrbc.c @@ -19,8 +19,8 @@ struct _args { char *filename; char *initname; char *ext; - int check_syntax : 1; - int verbose : 1; + mrb_bool check_syntax : 1; + mrb_bool verbose : 1; }; static void diff --git a/tools/mruby/mruby.c b/tools/mruby/mruby.c index aa9123844..c509c0d30 100644 --- a/tools/mruby/mruby.c +++ b/tools/mruby/mruby.c @@ -26,10 +26,10 @@ void mrb_show_copyright(mrb_state *); struct _args { FILE *rfp; char* cmdline; - int fname : 1; - int mrbfile : 1; - int check_syntax : 1; - int verbose : 1; + mrb_bool fname : 1; + mrb_bool mrbfile : 1; + mrb_bool check_syntax : 1; + mrb_bool verbose : 1; int argc; char** argv; }; |
