diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-14 06:00:06 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-14 06:00:06 -0700 |
| commit | 8e6ca38416ad9569af5bd6018edfc71462b6c21c (patch) | |
| tree | 42f94ea6fb39f93d830e097031b9864b78463838 /src | |
| parent | 66161f4723f747fc200faba7e4edd9a6a3e8564c (diff) | |
| parent | f7855764bc9d52913970cccfbf16600cca731051 (diff) | |
| download | mruby-8e6ca38416ad9569af5bd6018edfc71462b6c21c.tar.gz mruby-8e6ca38416ad9569af5bd6018edfc71462b6c21c.zip | |
Merge pull request #1378 from suzukaze/refactor2-vm.c
Replace 0 with FALSE and replace 1 with TRUE.
Diffstat (limited to 'src')
| -rw-r--r-- | src/vm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -180,16 +180,16 @@ uvenv(mrb_state *mrb, int up) return e; } -static inline int +static inline mrb_bool is_strict(mrb_state *mrb, struct REnv *e) { int cioff = e->cioff; if (cioff >= 0 && mrb->c->cibase[cioff].proc && MRB_PROC_STRICT_P(mrb->c->cibase[cioff].proc)) { - return 1; + return TRUE; } - return 0; + return FALSE; } static inline struct REnv* |
