Ruby
2.5.0dev(2017-10-22revision60238)
|
Go to the source code of this file.
Macros | |
#define | RB_INTEGER_TYPE_P(obj) (RB_FIXNUM_P(obj) || RB_TYPE_P(obj, T_BIGNUM)) |
#define | RB_ST2FIX(h) LONG2FIX((long)(h)) |
#define | ST2FIX(h) RB_ST2FIX(h) |
#define RB_INTEGER_TYPE_P | ( | obj | ) | (RB_FIXNUM_P(obj) || RB_TYPE_P(obj, T_BIGNUM)) |
Definition at line 15 of file ruby_missing.h.
Referenced by rb_big_and(), rb_big_or(), rb_big_xor(), rb_int_fdiv(), rb_int_fdiv_double(), rb_rational_cmp(), rb_rational_plus(), and rb_str_concat().
#define RB_ST2FIX | ( | h | ) | LONG2FIX((long)(h)) |
Definition at line 20 of file ruby_missing.h.
#define ST2FIX | ( | h | ) | RB_ST2FIX(h) |
Definition at line 21 of file ruby_missing.h.