Commit 8e6ca384 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

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

Replace 0 with FALSE and replace 1 with TRUE.
parents 66161f47 f7855764
......@@ -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*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment