Ruby  2.4.2p198(2017-09-14revision59899)
Macros | Functions
constdefs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INTEGER2NUM(n)
 

Functions

static void init_constants (VALUE mod)
 

Macro Definition Documentation

◆ INTEGER2NUM

#define INTEGER2NUM (   n)
Value:
(FIXNUM_MAX < (n) ? ULONG2NUM(n) : \
FIXNUM_MIN > (long)(n) ? LONG2NUM(n) : \
#define FIXNUM_MAX
Definition: ruby.h:228
#define FIXNUM_MIN
Definition: ruby.h:229
#define ULONG2NUM(x)
Definition: ruby.h:1574
#define LONG2NUM(x)
Definition: ruby.h:1573
#define LONG2FIX(i)
Definition: ruby.h:234

Definition at line 932 of file constdefs.h.

Referenced by init_constants().

Function Documentation

◆ init_constants()

static void init_constants ( VALUE  mod)
static

Definition at line 939 of file constdefs.h.

References INTEGER2NUM, and rb_define_const().

Referenced by Init_etc(), and rsock_init_socket_constants().