Make internal predicate functions to return simple boolean

This commit is contained in:
Nobuyoshi Nakada 2021-09-02 17:12:17 +09:00
parent d1d76f2428
commit 137fde717b
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
2 changed files with 7 additions and 10 deletions

View file

@ -128,7 +128,7 @@ f_abs(VALUE x)
}
inline static VALUE
inline static int
f_integer_p(VALUE x)
{
return RB_INTEGER_TYPE_P(x);