1 #ifndef RBIMPL_RBIGNUM_H
2 #define RBIMPL_RBIGNUM_H
29 #define RBIGNUM_SIGN rb_big_sign
32 #define RBIGNUM_POSITIVE_P RBIGNUM_POSITIVE_P
33 #define RBIGNUM_NEGATIVE_P RBIGNUM_NEGATIVE_P
Tweaking visibility of C variables/functions.
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
#define inline
Old Visual Studio versions do not support the inline keyword, so we need to define it to be __inline.
#define RBIGNUM_SIGN
Just another name of rb_big_sign.
int rb_big_sign(VALUE num)
The "sign" of a bignum.
static bool RBIGNUM_NEGATIVE_P(VALUE b)
Checks if the bignum is negative.
static bool RBIGNUM_POSITIVE_P(VALUE b)
Checks if the bignum is positive.
uintptr_t VALUE
Type that represents a Ruby object.
Defines enum ruby_value_type.