Merge pull request #1378 from suzukaze/refactor2-vm.c

Replace 0 with FALSE and replace 1 with TRUE.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-07-14 06:00:06 -07:00
+3 -3
View File
@@ -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*