diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-02-09 18:35:20 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-02-09 18:35:20 +0900 |
| commit | 19a08b8455c02eaef06d11cdc07b8011df6acd6d (patch) | |
| tree | 5159549c6965c6ef10e4db7c6862999bdadcf7a5 /src/string.c | |
| parent | d8a5f1205338f8ed664745ef74c825b74b9bb081 (diff) | |
| parent | 4507985c3ea2b3a7d14745f1f432e544ddeafe93 (diff) | |
| download | mruby-19a08b8455c02eaef06d11cdc07b8011df6acd6d.tar.gz mruby-19a08b8455c02eaef06d11cdc07b8011df6acd6d.zip | |
Merge pull request #1674 from cremno/mrb_bool-FALSE-TRUE
use mrb_bool, FALSE and TRUE more
Diffstat (limited to 'src/string.c')
| -rw-r--r-- | src/string.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/string.c b/src/string.c index f4ee6bed6..c880fbe48 100644 --- a/src/string.c +++ b/src/string.c @@ -2005,7 +2005,7 @@ mrb_string_value_cstr(mrb_state *mrb, mrb_value *ptr) } mrb_value -mrb_str_to_inum(mrb_state *mrb, mrb_value str, int base, int badcheck) +mrb_str_to_inum(mrb_state *mrb, mrb_value str, int base, mrb_bool badcheck) { char *s; int len; @@ -2068,7 +2068,7 @@ mrb_str_to_i(mrb_state *mrb, mrb_value self) } double -mrb_cstr_to_dbl(mrb_state *mrb, const char * p, int badcheck) +mrb_cstr_to_dbl(mrb_state *mrb, const char * p, mrb_bool badcheck) { char *end; double d; @@ -2137,7 +2137,7 @@ bad: } double -mrb_str_to_dbl(mrb_state *mrb, mrb_value str, int badcheck) +mrb_str_to_dbl(mrb_state *mrb, mrb_value str, mrb_bool badcheck) { char *s; int len; |
