mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #1378 from suzukaze/refactor2-vm.c
Replace 0 with FALSE and replace 1 with TRUE.
This commit is contained in:
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user