mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Make internal predicate functions to return simple boolean
This commit is contained in:
parent
d1d76f2428
commit
137fde717b
2 changed files with 7 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue