Ruby  3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
Macros
ruby_missing.h File Reference

(b76ad15ed0da636161de0243c547ee1e6fc95681)

This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

◆ RB_INTEGER_TYPE_P

#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.

◆ RB_ST2FIX

#define RB_ST2FIX (   h)    LONG2FIX((long)(h))

Definition at line 20 of file ruby_missing.h.

◆ ST2FIX

#define ST2FIX (   h)    RB_ST2FIX(h)

Definition at line 21 of file ruby_missing.h.