Ruby
3.4.0dev (2024-11-05 revision 348a53415339076afc4a02fcd09f3ae36e9c4c61)
|
These macros are deprecated. More...
Typedefs | |
typedef struct re_pattern_buffer | Regexp |
Old name of re_pattern_buffer. More... | |
Functions | |
VALUE | rb_complex_polar (VALUE abs, VALUE arg) |
Old name of rb_complex_new_polar. More... | |
Old character classification macros | |
What is this ISPRINT business? Well, according to our VCS and some internet surfing, it appears that the initial intent of these macros were to mimic codes appear in common in several GNU projects. As far as @shyouhei detects they seem to originate GNU regex (that standalone one rather than Gnulib or Glibc), and at least date back to 1995. Let me lawfully quote from a GNU coreutils commit https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=49803907f5dbd7646184a8912c9db9b09dcd0f22
So the intent was to reroute old problematic systems that no longer exist. At the same time the problems described above no longer hurt us, because we decided to completely avoid using system-provided isupper etc. to reinvent the wheel. These macros are entirely legacy; please ignore them. But let me also put stress that GNU people are wise; they use those macros only inside of their own implementations and never let them be public. On the other hand ruby has thoughtlessly publicised them to 3rd party libraries since its beginning, which is a very bad idea. These macros are too easy to get conflicted with definitions elsewhere. New programs should stick to the
| |
#define | ISASCII rb_isascii |
Old name of rb_isascii. More... | |
#define | ISPRINT rb_isprint |
Old name of rb_isprint. More... | |
#define | ISGRAPH rb_isgraph |
Old name of rb_isgraph. More... | |
#define | ISSPACE rb_isspace |
Old name of rb_isspace. More... | |
#define | ISUPPER rb_isupper |
Old name of rb_isupper. More... | |
#define | ISLOWER rb_islower |
Old name of rb_islower. More... | |
#define | ISALNUM rb_isalnum |
Old name of rb_isalnum. More... | |
#define | ISALPHA rb_isalpha |
Old name of rb_isalpha. More... | |
#define | ISDIGIT rb_isdigit |
Old name of rb_isdigit. More... | |
#define | ISXDIGIT rb_isxdigit |
Old name of rb_isxdigit. More... | |
#define | ISBLANK rb_isblank |
Old name of rb_isblank. More... | |
#define | ISCNTRL rb_iscntrl |
Old name of rb_iscntrl. More... | |
#define | ISPUNCT rb_ispunct |
Old name of rb_ispunct. More... | |
#define | TOUPPER rb_toupper |
Old name of rb_toupper. More... | |
#define | TOLOWER rb_tolower |
Old name of rb_tolower. More... | |
#define | STRCASECMP st_locale_insensitive_strcasecmp |
Old name of st_locale_insensitive_strcasecmp. More... | |
#define | STRNCASECMP st_locale_insensitive_strncasecmp |
Old name of st_locale_insensitive_strncasecmp. More... | |
#define | STRTOUL ruby_strtoul |
Old name of ruby_strtoul. More... | |
Flags for rb_econv_convert() | |
#define | ECONV_PARTIAL_INPUT RUBY_ECONV_PARTIAL_INPUT |
Old name of RUBY_ECONV_PARTIAL_INPUT. More... | |
#define | ECONV_AFTER_OUTPUT RUBY_ECONV_AFTER_OUTPUT |
Old name of RUBY_ECONV_AFTER_OUTPUT. More... | |
RUBY_ECONV_PARTIAL_INPUT = 0x00020000 | |
Indicates the input is a part of much larger one. More... | |
RUBY_ECONV_AFTER_OUTPUT = 0x00040000 | |
Instructs the converter to stop after output. More... | |
RUBY_ECONV_FLAGS_PLACEHOLDER | |
Placeholder (not used) More... | |
Internal events | |
@shyouhei's understanding is that some of them are visible from extension libraries because of But it seems that doesn't describe everything? The ultimate reason why they are here remains unclear. | |
#define | RUBY_EVENT_SWITCH 0x040000 |
Old name of RUBY_INTERNAL_EVENT_SWITCH. More... | |
These macros are deprecated.
Prefer their RB_
-prefixed versions.
#define ALLOC RB_ALLOC |
#define ALLOC_N RB_ALLOC_N |
#define ALLOCV RB_ALLOCV |
#define ALLOCV_END RB_ALLOCV_END |
Old name of RB_ALLOCV_END.
#define ALLOCV_N RB_ALLOCV_N |
Old name of RB_ALLOCV_N.
#define ASSUME RBIMPL_ASSUME |
Old name of RBIMPL_ASSUME.
#define BUILTIN_TYPE RB_BUILTIN_TYPE |
Old name of RB_BUILTIN_TYPE.
Definition at line 85 of file value_type.h.
#define Check_TypedStruct | ( | v, | |
t | |||
) | rb_check_typeddata(RBIMPL_CAST((VALUE)(v)), (t)) |
Old name of rb_check_typeddata.
Definition at line 105 of file rtypeddata.h.
#define CHR2FIX RB_CHR2FIX |
#define CLASS_OF rb_class_of |
Old name of rb_class_of.
#define CLONESETUP rb_clone_setup |
Old name of rb_clone_setup.
#define CONST_ID RUBY_CONST_ID |
Old name of RUBY_CONST_ID.
#define CONST_ID_CACHE RUBY_CONST_ID_CACHE |
Old name of RUBY_CONST_ID_CACHE.
#define DBL2NUM rb_float_new |
Old name of rb_float_new.
#define DUPSETUP rb_dup_setup |
Old name of rb_dup_setup.
#define DYNAMIC_SYM_P RB_DYNAMIC_SYM_P |
Old name of RB_DYNAMIC_SYM_P.
Definition at line 86 of file value_type.h.
#define ECONV_AFTER_OUTPUT RUBY_ECONV_AFTER_OUTPUT |
Old name of RUBY_ECONV_AFTER_OUTPUT.
Definition at line 555 of file transcode.h.
#define ECONV_CR_NEWLINE_DECORATOR RUBY_ECONV_CR_NEWLINE_DECORATOR |
Old name of RUBY_ECONV_CR_NEWLINE_DECORATOR.
Definition at line 534 of file transcode.h.
#define ECONV_CRLF_NEWLINE_DECORATOR RUBY_ECONV_CRLF_NEWLINE_DECORATOR |
Old name of RUBY_ECONV_CRLF_NEWLINE_DECORATOR.
Definition at line 533 of file transcode.h.
#define ECONV_DECORATOR_MASK RUBY_ECONV_DECORATOR_MASK |
Old name of RUBY_ECONV_DECORATOR_MASK.
Definition at line 528 of file transcode.h.
#define ECONV_DEFAULT_NEWLINE_DECORATOR RUBY_ECONV_DEFAULT_NEWLINE_DECORATOR |
Old name of RUBY_ECONV_DEFAULT_NEWLINE_DECORATOR.
Definition at line 540 of file transcode.h.
#define ECONV_ERROR_HANDLER_MASK RUBY_ECONV_ERROR_HANDLER_MASK |
Old name of RUBY_ECONV_ERROR_HANDLER_MASK.
Definition at line 522 of file transcode.h.
#define ECONV_INVALID_MASK RUBY_ECONV_INVALID_MASK |
Old name of RUBY_ECONV_INVALID_MASK.
Definition at line 523 of file transcode.h.
#define ECONV_INVALID_REPLACE RUBY_ECONV_INVALID_REPLACE |
Old name of RUBY_ECONV_INVALID_REPLACE.
Definition at line 524 of file transcode.h.
#define ECONV_LF_NEWLINE_DECORATOR RUBY_ECONV_LF_NEWLINE_DECORATOR |
Old name of RUBY_ECONV_LF_NEWLINE_DECORATOR.
Definition at line 535 of file transcode.h.
#define ECONV_NEWLINE_DECORATOR_MASK RUBY_ECONV_NEWLINE_DECORATOR_MASK |
Old name of RUBY_ECONV_NEWLINE_DECORATOR_MASK.
Definition at line 529 of file transcode.h.
#define ECONV_NEWLINE_DECORATOR_READ_MASK RUBY_ECONV_NEWLINE_DECORATOR_READ_MASK |
Old name of RUBY_ECONV_NEWLINE_DECORATOR_READ_MASK.
Definition at line 530 of file transcode.h.
#define ECONV_NEWLINE_DECORATOR_WRITE_MASK RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK |
Old name of RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK.
Definition at line 531 of file transcode.h.
#define ECONV_PARTIAL_INPUT RUBY_ECONV_PARTIAL_INPUT |
Old name of RUBY_ECONV_PARTIAL_INPUT.
Definition at line 554 of file transcode.h.
#define ECONV_STATEFUL_DECORATOR_MASK RUBY_ECONV_STATEFUL_DECORATOR_MASK |
Old name of RUBY_ECONV_STATEFUL_DECORATOR_MASK.
Definition at line 538 of file transcode.h.
#define ECONV_UNDEF_HEX_CHARREF RUBY_ECONV_UNDEF_HEX_CHARREF |
Old name of RUBY_ECONV_UNDEF_HEX_CHARREF.
Definition at line 527 of file transcode.h.
#define ECONV_UNDEF_MASK RUBY_ECONV_UNDEF_MASK |
Old name of RUBY_ECONV_UNDEF_MASK.
Definition at line 525 of file transcode.h.
#define ECONV_UNDEF_REPLACE RUBY_ECONV_UNDEF_REPLACE |
Old name of RUBY_ECONV_UNDEF_REPLACE.
Definition at line 526 of file transcode.h.
#define ECONV_UNIVERSAL_NEWLINE_DECORATOR RUBY_ECONV_UNIVERSAL_NEWLINE_DECORATOR |
Old name of RUBY_ECONV_UNIVERSAL_NEWLINE_DECORATOR.
Definition at line 532 of file transcode.h.
#define ECONV_XML_ATTR_CONTENT_DECORATOR RUBY_ECONV_XML_ATTR_CONTENT_DECORATOR |
Old name of RUBY_ECONV_XML_ATTR_CONTENT_DECORATOR.
Definition at line 537 of file transcode.h.
#define ECONV_XML_ATTR_QUOTE_DECORATOR RUBY_ECONV_XML_ATTR_QUOTE_DECORATOR |
Old name of RUBY_ECONV_XML_ATTR_QUOTE_DECORATOR.
Definition at line 539 of file transcode.h.
#define ECONV_XML_TEXT_DECORATOR RUBY_ECONV_XML_TEXT_DECORATOR |
Old name of RUBY_ECONV_XML_TEXT_DECORATOR.
Definition at line 536 of file transcode.h.
#define ELTS_SHARED RUBY_ELTS_SHARED |
Old name of RUBY_ELTS_SHARED.
#define ENC_CODERANGE | ( | obj | ) | RB_ENC_CODERANGE(obj) |
Old name of RB_ENC_CODERANGE.
Definition at line 184 of file coderange.h.
#define ENC_CODERANGE_7BIT RUBY_ENC_CODERANGE_7BIT |
Old name of RUBY_ENC_CODERANGE_7BIT.
Definition at line 180 of file coderange.h.
#define ENC_CODERANGE_AND | ( | a, | |
b | |||
) | RB_ENC_CODERANGE_AND(a, b) |
Old name of RB_ENC_CODERANGE_AND.
Definition at line 188 of file coderange.h.
#define ENC_CODERANGE_ASCIIONLY | ( | obj | ) | RB_ENC_CODERANGE_ASCIIONLY(obj) |
Old name of RB_ENC_CODERANGE_ASCIIONLY.
Definition at line 185 of file coderange.h.
#define ENC_CODERANGE_BROKEN RUBY_ENC_CODERANGE_BROKEN |
Old name of RUBY_ENC_CODERANGE_BROKEN.
Definition at line 182 of file coderange.h.
#define ENC_CODERANGE_CLEAN_P | ( | cr | ) | RB_ENC_CODERANGE_CLEAN_P(cr) |
Old name of RB_ENC_CODERANGE_CLEAN_P.
Definition at line 183 of file coderange.h.
#define ENC_CODERANGE_CLEAR | ( | obj | ) | RB_ENC_CODERANGE_CLEAR(obj) |
Old name of RB_ENC_CODERANGE_CLEAR.
Definition at line 187 of file coderange.h.
#define ENC_CODERANGE_MASK RUBY_ENC_CODERANGE_MASK |
Old name of RUBY_ENC_CODERANGE_MASK.
Definition at line 178 of file coderange.h.
#define ENC_CODERANGE_SET | ( | obj, | |
cr | |||
) | RB_ENC_CODERANGE_SET(obj,cr) |
Old name of RB_ENC_CODERANGE_SET.
Definition at line 186 of file coderange.h.
#define ENC_CODERANGE_UNKNOWN RUBY_ENC_CODERANGE_UNKNOWN |
Old name of RUBY_ENC_CODERANGE_UNKNOWN.
Definition at line 179 of file coderange.h.
#define ENC_CODERANGE_VALID RUBY_ENC_CODERANGE_VALID |
Old name of RUBY_ENC_CODERANGE_VALID.
Definition at line 181 of file coderange.h.
#define ENCODING_CODERANGE_SET | ( | obj, | |
encindex, | |||
cr | |||
) | RB_ENCODING_CODERANGE_SET(obj, encindex, cr) |
Old name of RB_ENCODING_CODERANGE_SET.
Definition at line 189 of file coderange.h.
#define ENCODING_GET | ( | obj | ) | RB_ENCODING_GET(obj) |
Old name of RB_ENCODING_GET.
Definition at line 109 of file encoding.h.
#define ENCODING_GET_INLINED | ( | obj | ) | RB_ENCODING_GET_INLINED(obj) |
Old name of RB_ENCODING_GET_INLINED.
Definition at line 108 of file encoding.h.
#define ENCODING_INLINE_MAX RUBY_ENCODING_INLINE_MAX |
Old name of RUBY_ENCODING_INLINE_MAX.
Definition at line 67 of file encoding.h.
#define ENCODING_IS_ASCII8BIT | ( | obj | ) | RB_ENCODING_IS_ASCII8BIT(obj) |
Old name of RB_ENCODING_IS_ASCII8BIT.
Definition at line 110 of file encoding.h.
#define ENCODING_MASK RUBY_ENCODING_MASK |
Old name of RUBY_ENCODING_MASK.
Definition at line 69 of file encoding.h.
#define ENCODING_MAXNAMELEN RUBY_ENCODING_MAXNAMELEN |
Old name of RUBY_ENCODING_MAXNAMELEN.
Definition at line 111 of file encoding.h.
#define ENCODING_SET | ( | obj, | |
i | |||
) | RB_ENCODING_SET(obj,i) |
Old name of RB_ENCODING_SET.
Definition at line 107 of file encoding.h.
#define ENCODING_SET_INLINED | ( | obj, | |
i | |||
) | RB_ENCODING_SET_INLINED(obj,i) |
Old name of RB_ENCODING_SET_INLINED.
Definition at line 106 of file encoding.h.
#define ENCODING_SHIFT RUBY_ENCODING_SHIFT |
Old name of RUBY_ENCODING_SHIFT.
Definition at line 68 of file encoding.h.
#define FIX2INT RB_FIX2INT |
#define FIX2LONG RB_FIX2LONG |
#define FIX2SHORT RB_FIX2SHORT |
Old name of RB_FIX2SHORT.
#define FIX2UINT RB_FIX2UINT |
#define FIX2ULONG RB_FIX2ULONG |
Old name of RB_FIX2ULONG.
#define FIXABLE RB_FIXABLE |
#define FIXNUM_FLAG RUBY_FIXNUM_FLAG |
Old name of RUBY_FIXNUM_FLAG.
Definition at line 64 of file special_consts.h.
#define FIXNUM_MAX RUBY_FIXNUM_MAX |
Old name of RUBY_FIXNUM_MAX.
#define FIXNUM_MIN RUBY_FIXNUM_MIN |
Old name of RUBY_FIXNUM_MIN.
#define FIXNUM_P RB_FIXNUM_P |
Old name of RB_FIXNUM_P.
Definition at line 53 of file special_consts.h.
#define FL_ABLE RB_FL_ABLE |
Old name of RB_FL_ABLE.
#define FL_ALL RB_FL_ALL |
#define FL_ALL_RAW RB_FL_ALL_RAW |
Old name of RB_FL_ALL_RAW.
#define FL_ANY RB_FL_ANY |
#define FL_ANY_RAW RB_FL_ANY_RAW |
Old name of RB_FL_ANY_RAW.
#define FL_EXIVAR RBIMPL_CAST((VALUE)RUBY_FL_EXIVAR) |
Old name of RUBY_FL_EXIVAR.
#define FL_FINALIZE RBIMPL_CAST((VALUE)RUBY_FL_FINALIZE) |
Old name of RUBY_FL_FINALIZE.
#define FL_FREEZE RBIMPL_CAST((VALUE)RUBY_FL_FREEZE) |
Old name of RUBY_FL_FREEZE.
#define FL_PROMOTED RBIMPL_CAST((VALUE)RUBY_FL_PROMOTED) |
Old name of RUBY_FL_PROMOTED.
#define FL_REVERSE RB_FL_REVERSE |
Old name of RB_FL_REVERSE.
#define FL_REVERSE_RAW RB_FL_REVERSE_RAW |
Old name of RB_FL_REVERSE_RAW.
#define FL_SEEN_OBJ_ID RBIMPL_CAST((VALUE)RUBY_FL_SEEN_OBJ_ID) |
Old name of RUBY_FL_SEEN_OBJ_ID.
#define FL_SET RB_FL_SET |
#define FL_SET_RAW RB_FL_SET_RAW |
Old name of RB_FL_SET_RAW.
#define FL_SHAREABLE RBIMPL_CAST((VALUE)RUBY_FL_SHAREABLE) |
Old name of RUBY_FL_SHAREABLE.
#define FL_SINGLETON RBIMPL_CAST((VALUE)RUBY_FL_SINGLETON) |
Old name of RUBY_FL_SINGLETON.
#define FL_TAINT RBIMPL_CAST((VALUE)RUBY_FL_TAINT) |
Old name of RUBY_FL_TAINT.
#define FL_TEST RB_FL_TEST |
Old name of RB_FL_TEST.
#define FL_TEST_RAW RB_FL_TEST_RAW |
Old name of RB_FL_TEST_RAW.
#define FL_UNSET RB_FL_UNSET |
Old name of RB_FL_UNSET.
#define FL_UNSET_RAW RB_FL_UNSET_RAW |
Old name of RB_FL_UNSET_RAW.
#define FL_UNTRUSTED RBIMPL_CAST((VALUE)RUBY_FL_UNTRUSTED) |
Old name of RUBY_FL_UNTRUSTED.
#define FL_USER0 RBIMPL_CAST((VALUE)RUBY_FL_USER0) |
Old name of RUBY_FL_USER0.
#define FL_USER1 RBIMPL_CAST((VALUE)RUBY_FL_USER1) |
Old name of RUBY_FL_USER1.
#define FL_USER10 RBIMPL_CAST((VALUE)RUBY_FL_USER10) |
Old name of RUBY_FL_USER10.
#define FL_USER11 RBIMPL_CAST((VALUE)RUBY_FL_USER11) |
Old name of RUBY_FL_USER11.
#define FL_USER12 RBIMPL_CAST((VALUE)RUBY_FL_USER12) |
Old name of RUBY_FL_USER12.
#define FL_USER13 RBIMPL_CAST((VALUE)RUBY_FL_USER13) |
Old name of RUBY_FL_USER13.
#define FL_USER14 RBIMPL_CAST((VALUE)RUBY_FL_USER14) |
Old name of RUBY_FL_USER14.
#define FL_USER15 RBIMPL_CAST((VALUE)RUBY_FL_USER15) |
Old name of RUBY_FL_USER15.
#define FL_USER16 RBIMPL_CAST((VALUE)RUBY_FL_USER16) |
Old name of RUBY_FL_USER16.
#define FL_USER17 RBIMPL_CAST((VALUE)RUBY_FL_USER17) |
Old name of RUBY_FL_USER17.
#define FL_USER18 RBIMPL_CAST((VALUE)RUBY_FL_USER18) |
Old name of RUBY_FL_USER18.
#define FL_USER19 RBIMPL_CAST((VALUE)(unsigned int)RUBY_FL_USER19) |
Old name of RUBY_FL_USER19.
#define FL_USER2 RBIMPL_CAST((VALUE)RUBY_FL_USER2) |
Old name of RUBY_FL_USER2.
#define FL_USER3 RBIMPL_CAST((VALUE)RUBY_FL_USER3) |
Old name of RUBY_FL_USER3.
#define FL_USER4 RBIMPL_CAST((VALUE)RUBY_FL_USER4) |
Old name of RUBY_FL_USER4.
#define FL_USER5 RBIMPL_CAST((VALUE)RUBY_FL_USER5) |
Old name of RUBY_FL_USER5.
#define FL_USER6 RBIMPL_CAST((VALUE)RUBY_FL_USER6) |
Old name of RUBY_FL_USER6.
#define FL_USER7 RBIMPL_CAST((VALUE)RUBY_FL_USER7) |
Old name of RUBY_FL_USER7.
#define FL_USER8 RBIMPL_CAST((VALUE)RUBY_FL_USER8) |
Old name of RUBY_FL_USER8.
#define FL_USER9 RBIMPL_CAST((VALUE)RUBY_FL_USER9) |
Old name of RUBY_FL_USER9.
#define FL_USHIFT RBIMPL_CAST((VALUE)RUBY_FL_USHIFT) |
Old name of RUBY_FL_USHIFT.
#define FL_WB_PROTECTED RBIMPL_CAST((VALUE)RUBY_FL_WB_PROTECTED) |
Old name of RUBY_FL_WB_PROTECTED.
#define FLONUM_FLAG RUBY_FLONUM_FLAG |
Old name of RUBY_FLONUM_FLAG.
Definition at line 65 of file special_consts.h.
#define FLONUM_MASK RUBY_FLONUM_MASK |
Old name of RUBY_FLONUM_MASK.
Definition at line 66 of file special_consts.h.
#define FLONUM_P RB_FLONUM_P |
Old name of RB_FLONUM_P.
Definition at line 67 of file special_consts.h.
#define ID2SYM RB_ID2SYM |
#define IMMEDIATE_MASK RUBY_IMMEDIATE_MASK |
Old name of RUBY_IMMEDIATE_MASK.
Definition at line 68 of file special_consts.h.
#define IMMEDIATE_P RB_IMMEDIATE_P |
Old name of RB_IMMEDIATE_P.
Definition at line 54 of file special_consts.h.
#define INT2FIX RB_INT2FIX |
#define INT2NUM RB_INT2NUM |
#define ISALNUM rb_isalnum |
#define ISALPHA rb_isalpha |
#define ISASCII rb_isascii |
#define ISBLANK rb_isblank |
#define ISCNTRL rb_iscntrl |
#define ISDIGIT rb_isdigit |
#define ISGRAPH rb_isgraph |
#define ISLOWER rb_islower |
#define ISPRINT rb_isprint |
#define ISPUNCT rb_ispunct |
#define ISSPACE rb_isspace |
#define ISUPPER rb_isupper |
#define ISXDIGIT rb_isxdigit |
#define LL2NUM RB_LL2NUM |
#define LONG2FIX RB_INT2FIX |
#define LONG2NUM RB_LONG2NUM |
#define MBCLEN_CHARFOUND_LEN | ( | ret | ) | ONIGENC_MBCLEN_CHARFOUND_LEN(ret) |
Old name of ONIGENC_MBCLEN_CHARFOUND_LEN.
Definition at line 517 of file encoding.h.
#define MBCLEN_CHARFOUND_P | ( | ret | ) | ONIGENC_MBCLEN_CHARFOUND_P(ret) |
Old name of ONIGENC_MBCLEN_CHARFOUND_P.
Definition at line 516 of file encoding.h.
#define MBCLEN_INVALID_P | ( | ret | ) | ONIGENC_MBCLEN_INVALID_P(ret) |
Old name of ONIGENC_MBCLEN_INVALID_P.
Definition at line 518 of file encoding.h.
#define MBCLEN_NEEDMORE_LEN | ( | ret | ) | ONIGENC_MBCLEN_NEEDMORE_LEN(ret) |
Old name of ONIGENC_MBCLEN_NEEDMORE_LEN.
Definition at line 520 of file encoding.h.
#define MBCLEN_NEEDMORE_P | ( | ret | ) | ONIGENC_MBCLEN_NEEDMORE_P(ret) |
Old name of ONIGENC_MBCLEN_NEEDMORE_P.
Definition at line 519 of file encoding.h.
#define NEGFIXABLE RB_NEGFIXABLE |
Old name of RB_NEGFIXABLE.
#define NIL_P RB_NIL_P |
Old name of RB_NIL_P.
Definition at line 55 of file special_consts.h.
#define NUM2CHR RB_NUM2CHR |
#define NUM2DBL rb_num2dbl |
#define NUM2INT RB_NUM2INT |
#define NUM2LL RB_NUM2LL |
#define NUM2LONG RB_NUM2LONG |
#define NUM2SHORT RB_NUM2SHORT |
Old name of RB_NUM2SHORT.
#define NUM2SIZET RB_NUM2SIZE |
Old name of RB_NUM2SIZE.
#define NUM2SSIZET RB_NUM2SSIZE |
Old name of RB_NUM2SSIZE.
#define NUM2UINT RB_NUM2UINT |
#define NUM2ULL RB_NUM2ULL |
Old name of RB_NUM2ULL.
Definition at line 35 of file long_long.h.
#define NUM2ULONG RB_NUM2ULONG |
Old name of RB_NUM2ULONG.
#define NUM2USHORT RB_NUM2USHORT |
Old name of RB_NUM2USHORT.
#define OBJ_FREEZE RB_OBJ_FREEZE |
Old name of RB_OBJ_FREEZE.
#define OBJ_FREEZE_RAW RB_OBJ_FREEZE_RAW |
Old name of RB_OBJ_FREEZE_RAW.
#define OBJ_FROZEN RB_OBJ_FROZEN |
Old name of RB_OBJ_FROZEN.
#define OBJ_FROZEN_RAW RB_OBJ_FROZEN_RAW |
Old name of RB_OBJ_FROZEN_RAW.
#define OBJ_INFECT RB_OBJ_INFECT |
Old name of RB_OBJ_INFECT.
#define OBJ_INFECT_RAW RB_OBJ_INFECT_RAW |
Old name of RB_OBJ_INFECT_RAW.
#define OBJ_INIT_COPY | ( | obj, | |
orig | |||
) | RB_OBJ_INIT_COPY(obj, orig) |
Old name of RB_OBJ_INIT_COPY.
#define OBJ_PROMOTED RB_OBJ_PROMOTED |
Old name of RB_OBJ_PROMOTED.
#define OBJ_PROMOTED_RAW RB_OBJ_PROMOTED_RAW |
Old name of RB_OBJ_PROMOTED_RAW.
#define OBJ_TAINT RB_OBJ_TAINT |
Old name of RB_OBJ_TAINT.
#define OBJ_TAINT_RAW RB_OBJ_TAINT_RAW |
Old name of RB_OBJ_TAINT_RAW.
#define OBJ_TAINTABLE RB_OBJ_TAINTABLE |
Old name of RB_OBJ_TAINT_RAW.
#define OBJ_TAINTED RB_OBJ_TAINTED |
Old name of RB_OBJ_TAINTED.
#define OBJ_TAINTED_RAW RB_OBJ_TAINTED_RAW |
Old name of RB_OBJ_TAINTED_RAW.
#define OBJ_UNTRUST RB_OBJ_UNTRUST |
Old name of RB_OBJ_TAINT.
#define OBJ_UNTRUSTED RB_OBJ_UNTRUSTED |
Old name of RB_OBJ_TAINTED.
#define OBJ_WB_UNPROTECT RB_OBJ_WB_UNPROTECT |
Old name of RB_OBJ_WB_UNPROTECT.
#define OBJSETUP rb_obj_setup |
Old name of rb_obj_setup.
#define POSFIXABLE RB_POSFIXABLE |
Old name of RB_POSFIXABLE.
#define Qfalse RUBY_Qfalse |
Old name of RUBY_Qfalse.
Definition at line 59 of file special_consts.h.
#define Qnil RUBY_Qnil |
Old name of RUBY_Qnil.
Definition at line 60 of file special_consts.h.
#define Qtrue RUBY_Qtrue |
Old name of RUBY_Qtrue.
Definition at line 61 of file special_consts.h.
#define Qundef RUBY_Qundef |
Old name of RUBY_Qundef.
Definition at line 62 of file special_consts.h.
#define rb_ary_new2 rb_ary_new_capa |
Old name of rb_ary_new_capa.
#define rb_ary_new3 rb_ary_new_from_args |
Old name of rb_ary_new_from_args.
#define rb_ary_new4 rb_ary_new_from_values |
Old name of rb_ary_new_from_values.
#define rb_exc_new2 rb_exc_new_cstr |
Old name of rb_exc_new_cstr.
#define rb_exc_new3 rb_exc_new_str |
Old name of rb_exc_new_str.
#define RB_INTEGER_TYPE_P rb_integer_type_p |
Old name of rb_integer_type_p.
Definition at line 87 of file value_type.h.
#define rb_str_buf_cat2 rb_str_cat_cstr |
Old name of rb_usascii_str_new_cstr.
#define rb_str_buf_new2 rb_str_buf_new_cstr |
Old name of rb_str_buf_new_cstr.
#define rb_str_cat2 rb_str_cat_cstr |
Old name of rb_str_cat_cstr.
#define rb_str_new2 rb_str_new_cstr |
Old name of rb_str_new_cstr.
#define rb_str_new3 rb_str_new_shared |
Old name of rb_str_new_shared.
#define rb_str_new4 rb_str_new_frozen |
Old name of rb_str_new_frozen.
#define rb_str_new5 rb_str_new_with_class |
Old name of rb_str_new_with_class.
#define rb_usascii_str_new2 rb_usascii_str_new_cstr |
Old name of rb_usascii_str_new_cstr.
#define REALLOC_N RB_REALLOC_N |
Old name of RB_REALLOC_N.
#define RFLOAT_VALUE rb_float_value |
Old name of rb_float_value.
#define RUBY_EVENT_SWITCH 0x040000 |
Old name of RUBY_INTERNAL_EVENT_SWITCH.
#define scan_hex | ( | s, | |
l, | |||
e | |||
) | ((int)ruby_scan_hex((s),(l),(e))) |
Old name of ruby_scan_hex.
#define scan_oct | ( | s, | |
l, | |||
e | |||
) | ((int)ruby_scan_oct((s),(l),(e))) |
Old name of ruby_scan_oct.
#define SIZET2NUM RB_SIZE2NUM |
Old name of RB_SIZE2NUM.
#define SPECIAL_CONST_P RB_SPECIAL_CONST_P |
Old name of RB_SPECIAL_CONST_P.
Definition at line 56 of file special_consts.h.
#define SSIZET2NUM RB_SSIZE2NUM |
Old name of RB_SSIZE2NUM.
#define ST2FIX RB_ST2FIX |
#define STATIC_SYM_P RB_STATIC_SYM_P |
Old name of RB_STATIC_SYM_P.
Definition at line 57 of file special_consts.h.
#define STRCASECMP st_locale_insensitive_strcasecmp |
Old name of st_locale_insensitive_strcasecmp.
#define STRNCASECMP st_locale_insensitive_strncasecmp |
Old name of st_locale_insensitive_strncasecmp.
#define STRTOUL ruby_strtoul |
Old name of ruby_strtoul.
#define SYM2ID RB_SYM2ID |
#define SYMBOL_FLAG RUBY_SYMBOL_FLAG |
Old name of RUBY_SYMBOL_FLAG.
Definition at line 69 of file special_consts.h.
#define SYMBOL_P RB_SYMBOL_P |
Old name of RB_SYMBOL_P.
Definition at line 88 of file value_type.h.
#define T_ARRAY RUBY_T_ARRAY |
Old name of RUBY_T_ARRAY.
Definition at line 56 of file value_type.h.
#define T_BIGNUM RUBY_T_BIGNUM |
Old name of RUBY_T_BIGNUM.
Definition at line 57 of file value_type.h.
#define T_CLASS RUBY_T_CLASS |
Old name of RUBY_T_CLASS.
Definition at line 58 of file value_type.h.
#define T_COMPLEX RUBY_T_COMPLEX |
Old name of RUBY_T_COMPLEX.
Definition at line 59 of file value_type.h.
#define T_DATA RUBY_T_DATA |
Old name of RUBY_T_DATA.
Definition at line 60 of file value_type.h.
#define T_FALSE RUBY_T_FALSE |
Old name of RUBY_T_FALSE.
Definition at line 61 of file value_type.h.
#define T_FILE RUBY_T_FILE |
Old name of RUBY_T_FILE.
Definition at line 62 of file value_type.h.
#define T_FIXNUM RUBY_T_FIXNUM |
Old name of RUBY_T_FIXNUM.
Definition at line 63 of file value_type.h.
#define T_FLOAT RUBY_T_FLOAT |
Old name of RUBY_T_FLOAT.
Definition at line 64 of file value_type.h.
#define T_HASH RUBY_T_HASH |
Old name of RUBY_T_HASH.
Definition at line 65 of file value_type.h.
#define T_ICLASS RUBY_T_ICLASS |
Old name of RUBY_T_ICLASS.
Definition at line 66 of file value_type.h.
#define T_IMEMO RUBY_T_IMEMO |
Old name of RUBY_T_IMEMO.
Definition at line 67 of file value_type.h.
#define T_MASK RUBY_T_MASK |
Old name of RUBY_T_MASK.
Definition at line 68 of file value_type.h.
#define T_MATCH RUBY_T_MATCH |
Old name of RUBY_T_MATCH.
Definition at line 69 of file value_type.h.
#define T_MODULE RUBY_T_MODULE |
Old name of RUBY_T_MODULE.
Definition at line 70 of file value_type.h.
#define T_MOVED RUBY_T_MOVED |
Old name of RUBY_T_MOVED.
Definition at line 71 of file value_type.h.
#define T_NIL RUBY_T_NIL |
Old name of RUBY_T_NIL.
Definition at line 72 of file value_type.h.
#define T_NODE RUBY_T_NODE |
Old name of RUBY_T_NODE.
Definition at line 73 of file value_type.h.
#define T_NONE RUBY_T_NONE |
Old name of RUBY_T_NONE.
Definition at line 74 of file value_type.h.
#define T_OBJECT RUBY_T_OBJECT |
Old name of RUBY_T_OBJECT.
Definition at line 75 of file value_type.h.
#define T_RATIONAL RUBY_T_RATIONAL |
Old name of RUBY_T_RATIONAL.
Definition at line 76 of file value_type.h.
#define T_REGEXP RUBY_T_REGEXP |
Old name of RUBY_T_REGEXP.
Definition at line 77 of file value_type.h.
#define T_STRING RUBY_T_STRING |
Old name of RUBY_T_STRING.
Definition at line 78 of file value_type.h.
#define T_STRUCT RUBY_T_STRUCT |
Old name of RUBY_T_STRUCT.
Definition at line 79 of file value_type.h.
#define T_SYMBOL RUBY_T_SYMBOL |
Old name of RUBY_T_SYMBOL.
Definition at line 80 of file value_type.h.
#define T_TRUE RUBY_T_TRUE |
Old name of RUBY_T_TRUE.
Definition at line 81 of file value_type.h.
#define T_UNDEF RUBY_T_UNDEF |
Old name of RUBY_T_UNDEF.
Definition at line 82 of file value_type.h.
#define T_ZOMBIE RUBY_T_ZOMBIE |
Old name of RUBY_T_ZOMBIE.
Definition at line 83 of file value_type.h.
#define TOLOWER rb_tolower |
#define TOUPPER rb_toupper |
#define UINT2NUM RB_UINT2NUM |
#define ULL2NUM RB_ULL2NUM |
Old name of RB_ULL2NUM.
Definition at line 31 of file long_long.h.
#define ULONG2NUM RB_ULONG2NUM |
Old name of RB_ULONG2NUM.
#define UNREACHABLE RBIMPL_UNREACHABLE() |
Old name of RBIMPL_UNREACHABLE.
#define UNREACHABLE_RETURN RBIMPL_UNREACHABLE_RETURN |
Old name of RBIMPL_UNREACHABLE_RETURN.
#define USHORT2NUM RB_INT2FIX |
#define xcalloc ruby_xcalloc |
Old name of ruby_xcalloc.
#define xfree ruby_xfree |
#define xmalloc ruby_xmalloc |
Old name of ruby_xmalloc.
#define xmalloc2 ruby_xmalloc2 |
Old name of ruby_xmalloc2.
#define xrealloc ruby_xrealloc |
Old name of ruby_xrealloc.
#define xrealloc2 ruby_xrealloc2 |
Old name of ruby_xrealloc2.
#define ZALLOC RB_ZALLOC |
#define ZALLOC_N RB_ZALLOC_N |
Old name of RB_ZALLOC_N.
typedef struct re_pattern_buffer Regexp |
Old name of re_pattern_buffer.
Old name of rb_complex_new_polar.