Ruby: ext/etc/constdefs.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Macros
constdefs.h File Reference

Go to the source code of this file.

## Macros
#define | INTEGER2NUM(n)

## Macro Definition Documentation

## ◆ INTEGER2NUM

#define INTEGER2NUM | ( |  | n | ) |

Value:
(FIXNUM_MAX < (n) ? ULONG2NUM(n) : \
FIXNUM_MIN > (long)(n) ? LONG2NUM(n) : \
LONG2FIX(n))
FIXNUM_MIN
#define FIXNUM_MIN
Definition: fixnum.h:27
FIXNUM_MAX
#define FIXNUM_MAX
Definition: fixnum.h:26
long
typedef long(ZCALLBACK *tell_file_func) OF((voidpf opaque
ULONG2NUM
#define ULONG2NUM
Definition: long.h:60
LONG2FIX
#define LONG2FIX
Definition: long.h:49
LONG2NUM
#define LONG2NUM
Definition: long.h:50

Definition at line 932 of file constdefs.h.