Ruby: Deprecated macro APIs

Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)

Macros | Typedefs | Functions
Deprecated macro APIs

These macros are deprecated. More...

## Macros
#define | ASSUME RBIMPL_ASSUME
| Old name of RBIMPL_ASSUME.
#define | UNREACHABLE RBIMPL_UNREACHABLE()
| Old name of RBIMPL_UNREACHABLE.
#define | UNREACHABLE_RETURN RBIMPL_UNREACHABLE_RETURN
| Old name of RBIMPL_UNREACHABLE_RETURN.
#define | NUM2CHR RB_NUM2CHR
| Old name of RB_NUM2CHR.
#define | CHR2FIX RB_CHR2FIX
| Old name of RB_CHR2FIX.
#define | NUM2DBL rb_num2dbl
| Old name of rb_num2dbl.
#define | RFLOAT_VALUE rb_float_value
| Old name of rb_float_value.
#define | DBL2NUM rb_float_new
| Old name of rb_float_new.
#define | FIXABLE RB_FIXABLE
| Old name of RB_FIXABLE.
#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 | NEGFIXABLE RB_NEGFIXABLE
| Old name of RB_NEGFIXABLE.
#define | POSFIXABLE RB_POSFIXABLE
| Old name of RB_POSFIXABLE.
#define | FIX2INT RB_FIX2INT
| Old name of RB_FIX2INT.
#define | FIX2UINT RB_FIX2UINT
| Old name of RB_FIX2UINT.
#define | INT2NUM RB_INT2NUM
| Old name of RB_INT2NUM.
#define | NUM2INT RB_NUM2INT
| Old name of RB_NUM2INT.
#define | NUM2UINT RB_NUM2UINT
| Old name of RB_NUM2UINT.
#define | UINT2NUM RB_UINT2NUM
| Old name of RB_UINT2NUM.
#define | FIX2LONG RB_FIX2LONG
| Old name of RB_FIX2LONG.
#define | FIX2ULONG RB_FIX2ULONG
| Old name of RB_FIX2ULONG.
#define | INT2FIX RB_INT2FIX
| Old name of RB_INT2FIX.
#define | LONG2FIX RB_INT2FIX
| Old name of RB_INT2FIX.
#define | LONG2NUM RB_LONG2NUM
| Old name of RB_LONG2NUM.
#define | NUM2LONG RB_NUM2LONG
| Old name of RB_NUM2LONG.
#define | NUM2ULONG RB_NUM2ULONG
| Old name of RB_NUM2ULONG.
#define | ULONG2NUM RB_ULONG2NUM
| Old name of RB_ULONG2NUM.
#define | LL2NUM RB_LL2NUM
| Old name of RB_LL2NUM.
#define | ULL2NUM RB_ULL2NUM
| Old name of RB_ULL2NUM.
#define | NUM2LL RB_NUM2LL
| Old name of RB_NUM2LL.
#define | NUM2ULL RB_NUM2ULL
| Old name of RB_NUM2ULL.
#define | NUM2SHORT RB_NUM2SHORT
| Old name of RB_NUM2SHORT.
#define | NUM2USHORT RB_NUM2USHORT
| Old name of RB_NUM2USHORT.
#define | USHORT2NUM RB_INT2FIX
| Old name of RB_INT2FIX.
#define | FIX2SHORT RB_FIX2SHORT
| Old name of RB_FIX2SHORT.
#define | NUM2SIZET RB_NUM2SIZE
| Old name of RB_NUM2SIZE.
#define | SIZET2NUM RB_SIZE2NUM
| Old name of RB_SIZE2NUM.
#define | NUM2SSIZET RB_NUM2SSIZE
| Old name of RB_NUM2SSIZE.
#define | SSIZET2NUM RB_SSIZE2NUM
| Old name of RB_SSIZE2NUM.
#define | ST2FIX RB_ST2FIX
| Old name of RB_ST2FIX.
#define | Check_TypedStruct(v, t)
| Old name of rb_check_typeddata.
#define | ENC_CODERANGE_MASK RUBY_ENC_CODERANGE_MASK
| Old name of RUBY_ENC_CODERANGE_MASK.
#define | ENC_CODERANGE_UNKNOWN RUBY_ENC_CODERANGE_UNKNOWN
| Old name of RUBY_ENC_CODERANGE_UNKNOWN.
#define | ENC_CODERANGE_7BIT RUBY_ENC_CODERANGE_7BIT
| Old name of RUBY_ENC_CODERANGE_7BIT.
#define | ENC_CODERANGE_VALID RUBY_ENC_CODERANGE_VALID
| Old name of RUBY_ENC_CODERANGE_VALID.
#define | ENC_CODERANGE_BROKEN RUBY_ENC_CODERANGE_BROKEN
| Old name of RUBY_ENC_CODERANGE_BROKEN.
#define | ENC_CODERANGE_CLEAN_P(cr)
| Old name of RB_ENC_CODERANGE_CLEAN_P.
#define | ENC_CODERANGE(obj)
| Old name of RB_ENC_CODERANGE.
#define | ENC_CODERANGE_ASCIIONLY(obj)
| Old name of RB_ENC_CODERANGE_ASCIIONLY.
#define | ENC_CODERANGE_SET(obj, cr)
| Old name of RB_ENC_CODERANGE_SET.
#define | ENC_CODERANGE_CLEAR(obj)
| Old name of RB_ENC_CODERANGE_CLEAR.
#define | ENC_CODERANGE_AND(a, b)
| Old name of RB_ENC_CODERANGE_AND.
#define | ENCODING_CODERANGE_SET(obj, encindex, cr)
| Old name of RB_ENCODING_CODERANGE_SET.
#define | ENCODING_INLINE_MAX RUBY_ENCODING_INLINE_MAX
| Old name of RUBY_ENCODING_INLINE_MAX.
#define | ENCODING_SHIFT RUBY_ENCODING_SHIFT
| Old name of RUBY_ENCODING_SHIFT.
#define | ENCODING_MASK RUBY_ENCODING_MASK
| Old name of RUBY_ENCODING_MASK.
#define | ENCODING_SET_INLINED(obj, i)
| Old name of RB_ENCODING_SET_INLINED.
#define | ENCODING_SET(obj, i)
| Old name of RB_ENCODING_SET.
#define | ENCODING_GET_INLINED(obj)
| Old name of RB_ENCODING_GET_INLINED.
#define | ENCODING_GET(obj)
| Old name of RB_ENCODING_GET.
#define | ENCODING_IS_ASCII8BIT(obj)
| Old name of RB_ENCODING_IS_ASCII8BIT.
#define | ENCODING_MAXNAMELEN RUBY_ENCODING_MAXNAMELEN
| Old name of RUBY_ENCODING_MAXNAMELEN.
#define | MBCLEN_CHARFOUND_P(ret)
| Old name of ONIGENC_MBCLEN_CHARFOUND_P.
#define | MBCLEN_CHARFOUND_LEN(ret)
| Old name of ONIGENC_MBCLEN_CHARFOUND_LEN.
#define | MBCLEN_INVALID_P(ret)
| Old name of ONIGENC_MBCLEN_INVALID_P.
#define | MBCLEN_NEEDMORE_P(ret)
| Old name of ONIGENC_MBCLEN_NEEDMORE_P.
#define | MBCLEN_NEEDMORE_LEN(ret)
| Old name of ONIGENC_MBCLEN_NEEDMORE_LEN.
#define | FL_SINGLETON RBIMPL_CAST((VALUE)RUBY_FL_SINGLETON)
| Old name of RUBY_FL_SINGLETON.
#define | FL_WB_PROTECTED RBIMPL_CAST((VALUE)RUBY_FL_WB_PROTECTED)
| Old name of RUBY_FL_WB_PROTECTED.
#define | FL_PROMOTED RBIMPL_CAST((VALUE)RUBY_FL_PROMOTED)
| Old name of RUBY_FL_PROMOTED.
#define | FL_FINALIZE RBIMPL_CAST((VALUE)RUBY_FL_FINALIZE)
| Old name of RUBY_FL_FINALIZE.
#define | FL_TAINT RBIMPL_CAST((VALUE)RUBY_FL_TAINT)
| Old name of RUBY_FL_TAINT.
#define | FL_SHAREABLE RBIMPL_CAST((VALUE)RUBY_FL_SHAREABLE)
| Old name of RUBY_FL_SHAREABLE.
#define | FL_UNTRUSTED RBIMPL_CAST((VALUE)RUBY_FL_UNTRUSTED)
| Old name of RUBY_FL_UNTRUSTED.
#define | FL_SEEN_OBJ_ID RBIMPL_CAST((VALUE)RUBY_FL_SEEN_OBJ_ID)
| Old name of RUBY_FL_SEEN_OBJ_ID.
#define | FL_EXIVAR RBIMPL_CAST((VALUE)RUBY_FL_EXIVAR)
| Old name of RUBY_FL_EXIVAR.
#define | FL_FREEZE RBIMPL_CAST((VALUE)RUBY_FL_FREEZE)
| Old name of RUBY_FL_FREEZE.
#define | FL_USHIFT RBIMPL_CAST((VALUE)RUBY_FL_USHIFT)
| Old name of RUBY_FL_USHIFT.
#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_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_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 | ELTS_SHARED RUBY_ELTS_SHARED
| Old name of RUBY_ELTS_SHARED.
#define | FL_ABLE RB_FL_ABLE
| Old name of RB_FL_ABLE.
#define | FL_ALL RB_FL_ALL
| Old name of RB_FL_ALL.
#define | FL_ALL_RAW RB_FL_ALL_RAW
| Old name of RB_FL_ALL_RAW.
#define | FL_ANY RB_FL_ANY
| Old name of RB_FL_ANY.
#define | FL_ANY_RAW RB_FL_ANY_RAW
| Old name of RB_FL_ANY_RAW.
#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_SET RB_FL_SET
| Old name of RB_FL_SET.
#define | FL_SET_RAW RB_FL_SET_RAW
| Old name of RB_FL_SET_RAW.
#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 | 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_TAINT RB_OBJ_TAINT
| Old name of RB_OBJ_TAINT.
#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_TAINT_RAW RB_OBJ_TAINT_RAW
| Old name of RB_OBJ_TAINT_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_PROMOTED_RAW RB_OBJ_PROMOTED_RAW
| Old name of RB_OBJ_PROMOTED_RAW.
#define | OBJ_PROMOTED RB_OBJ_PROMOTED
| Old name of RB_OBJ_PROMOTED.
#define | OBJ_WB_UNPROTECT RB_OBJ_WB_UNPROTECT
| Old name of RB_OBJ_WB_UNPROTECT.
#define | CLASS_OF rb_class_of
| Old name of rb_class_of.
#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 | OBJ_INIT_COPY(obj, orig)
| Old name of RB_OBJ_INIT_COPY.
#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_str_buf_new2 rb_str_buf_new_cstr
| Old name of rb_str_buf_new_cstr.
#define | rb_usascii_str_new2 rb_usascii_str_new_cstr
| Old name of rb_usascii_str_new_cstr.
#define | rb_str_buf_cat2 rb_str_cat_cstr
| Old name of rb_usascii_str_new_cstr.
#define | rb_str_cat2 rb_str_cat_cstr
| Old name of rb_str_cat_cstr.
#define | ALLOC_N RB_ALLOC_N
| Old name of RB_ALLOC_N.
#define | ALLOC RB_ALLOC
| Old name of RB_ALLOC.
#define | ZALLOC_N RB_ZALLOC_N
| Old name of RB_ZALLOC_N.
#define | ZALLOC RB_ZALLOC
| Old name of RB_ZALLOC.
#define | REALLOC_N RB_REALLOC_N
| Old name of RB_REALLOC_N.
#define | ALLOCV RB_ALLOCV
| Old name of RB_ALLOCV.
#define | ALLOCV_N RB_ALLOCV_N
| Old name of RB_ALLOCV_N.
#define | ALLOCV_END RB_ALLOCV_END
| Old name of RB_ALLOCV_END.
#define | NEWOBJ RB_NEWOBJ
| Old name of RB_NEWOBJ.
#define | NEWOBJ_OF RB_NEWOBJ_OF
| Old name of RB_NEWOBJ_OF.
#define | OBJSETUP rb_obj_setup
| Old name of rb_obj_setup.
#define | CLONESETUP rb_clone_setup
| Old name of rb_clone_setup.
#define | DUPSETUP rb_dup_setup
| Old name of rb_dup_setup.
#define | FIXNUM_P RB_FIXNUM_P
| Old name of RB_FIXNUM_P.
#define | IMMEDIATE_P RB_IMMEDIATE_P
| Old name of RB_IMMEDIATE_P.
#define | NIL_P RB_NIL_P
| Old name of RB_NIL_P.
#define | SPECIAL_CONST_P RB_SPECIAL_CONST_P
| Old name of RB_SPECIAL_CONST_P.
#define | STATIC_SYM_P RB_STATIC_SYM_P
| Old name of RB_STATIC_SYM_P.
#define | Qfalse RUBY_Qfalse
| Old name of RUBY_Qfalse.
#define | Qnil RUBY_Qnil
| Old name of RUBY_Qnil.
#define | Qtrue RUBY_Qtrue
| Old name of RUBY_Qtrue.
#define | Qundef RUBY_Qundef
| Old name of RUBY_Qundef.
#define | FIXNUM_FLAG RUBY_FIXNUM_FLAG
| Old name of RUBY_FIXNUM_FLAG.
#define | FLONUM_FLAG RUBY_FLONUM_FLAG
| Old name of RUBY_FLONUM_FLAG.
#define | FLONUM_MASK RUBY_FLONUM_MASK
| Old name of RUBY_FLONUM_MASK.
#define | FLONUM_P RB_FLONUM_P
| Old name of RB_FLONUM_P.
#define | IMMEDIATE_MASK RUBY_IMMEDIATE_MASK
| Old name of RUBY_IMMEDIATE_MASK.
#define | SYMBOL_FLAG RUBY_SYMBOL_FLAG
| Old name of RUBY_SYMBOL_FLAG.
#define | ID2SYM RB_ID2SYM
| Old name of RB_ID2SYM.
#define | SYM2ID RB_SYM2ID
| Old name of RB_SYM2ID.
#define | CONST_ID_CACHE RUBY_CONST_ID_CACHE
| Old name of RUBY_CONST_ID_CACHE.
#define | CONST_ID RUBY_CONST_ID
| Old name of RUBY_CONST_ID.
#define | T_ARRAY RUBY_T_ARRAY
| Old name of RUBY_T_ARRAY.
#define | T_BIGNUM RUBY_T_BIGNUM
| Old name of RUBY_T_BIGNUM.
#define | T_CLASS RUBY_T_CLASS
| Old name of RUBY_T_CLASS.
#define | T_COMPLEX RUBY_T_COMPLEX
| Old name of RUBY_T_COMPLEX.
#define | T_DATA RUBY_T_DATA
| Old name of RUBY_T_DATA.
#define | T_FALSE RUBY_T_FALSE
| Old name of RUBY_T_FALSE.
#define | T_FILE RUBY_T_FILE
| Old name of RUBY_T_FILE.
#define | T_FIXNUM RUBY_T_FIXNUM
| Old name of RUBY_T_FIXNUM.
#define | T_FLOAT RUBY_T_FLOAT
| Old name of RUBY_T_FLOAT.
#define | T_HASH RUBY_T_HASH
| Old name of RUBY_T_HASH.
#define | T_ICLASS RUBY_T_ICLASS
| Old name of RUBY_T_ICLASS.
#define | T_IMEMO RUBY_T_IMEMO
| Old name of RUBY_T_IMEMO.
#define | T_MASK RUBY_T_MASK
| Old name of RUBY_T_MASK.
#define | T_MATCH RUBY_T_MATCH
| Old name of RUBY_T_MATCH.
#define | T_MODULE RUBY_T_MODULE
| Old name of RUBY_T_MODULE.
#define | T_MOVED RUBY_T_MOVED
| Old name of RUBY_T_MOVED.
#define | T_NIL RUBY_T_NIL
| Old name of RUBY_T_NIL.
#define | T_NODE RUBY_T_NODE
| Old name of RUBY_T_NODE.
#define | T_NONE RUBY_T_NONE
| Old name of RUBY_T_NONE.
#define | T_OBJECT RUBY_T_OBJECT
| Old name of RUBY_T_OBJECT.
#define | T_RATIONAL RUBY_T_RATIONAL
| Old name of RUBY_T_RATIONAL.
#define | T_REGEXP RUBY_T_REGEXP
| Old name of RUBY_T_REGEXP.
#define | T_STRING RUBY_T_STRING
| Old name of RUBY_T_STRING.
#define | T_STRUCT RUBY_T_STRUCT
| Old name of RUBY_T_STRUCT.
#define | T_SYMBOL RUBY_T_SYMBOL
| Old name of RUBY_T_SYMBOL.
#define | T_TRUE RUBY_T_TRUE
| Old name of RUBY_T_TRUE.
#define | T_UNDEF RUBY_T_UNDEF
| Old name of RUBY_T_UNDEF.
#define | T_ZOMBIE RUBY_T_ZOMBIE
| Old name of RUBY_T_ZOMBIE.
#define | BUILTIN_TYPE RB_BUILTIN_TYPE
| Old name of RB_BUILTIN_TYPE.
#define | DYNAMIC_SYM_P RB_DYNAMIC_SYM_P
| Old name of RB_DYNAMIC_SYM_P.
#define | RB_INTEGER_TYPE_P rb_integer_type_p
| Old name of rb_integer_type_p.
#define | SYMBOL_P RB_SYMBOL_P
| Old name of RB_SYMBOL_P.
#define | TYPE(_)
| Old name of rb_type.
#define | xmalloc ruby_xmalloc
| Old name of ruby_xmalloc.
#define | xmalloc2 ruby_xmalloc2
| Old name of ruby_xmalloc2.
#define | xcalloc ruby_xcalloc
| Old name of ruby_xcalloc.
#define | xrealloc ruby_xrealloc
| Old name of ruby_xrealloc.
#define | xrealloc2 ruby_xrealloc2
| Old name of ruby_xrealloc2.
#define | xfree ruby_xfree
| Old name of ruby_xfree.
#define | scan_oct(s, l, e)
| Old name of ruby_scan_oct.
#define | scan_hex(s, l, e)
| Old name of ruby_scan_hex.

## Typedefs
typedef struct re_pattern_buffer | Regexp
| Old name of re_pattern_buffer.

## Functions
VALUE | rb_complex_polar (VALUE abs, VALUE arg)
| Old name of rb_complex_new_polar.

## 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 ‍Jim Meyering writes: "... Some ctype macros are valid only for character codes that isascii says are ASCII (SGI's IRIX-4.0.5 is one such system &ndash;when using /bin/cc or gcc but without giving an ansi option). So, all ctype uses should be through macros like ISPRINT... If STDC_HEADERS is defined, then autoconf has verified that the ctype macros don't need to be guarded with references to isascii. ... Defining isascii to 1 should let any compiler worth its salt eliminate the && through constant folding." Bruno Haible adds: "... Furthermore, isupper(c) etc. have an undefined result if c is outside the range -1 <= c <= 255. One is tempted to write isupper(c) with c being of type &lsquo;char&rsquo;, but this is wrong if c is an 8-bit character >= 128 which gets sign-extended to a negative value. The macro ISUPPER protects against this as well." 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 `rb_` prefixed names. Note It seems we just mimic the API. We do not share their implementation with GPL-ed programs.
#define | ISASCII rb_isascii
| Old name of rb_isascii.
#define | ISPRINT rb_isprint
| Old name of rb_isprint.
#define | ISGRAPH rb_isgraph
| Old name of rb_isgraph.
#define | ISSPACE rb_isspace
| Old name of rb_isspace.
#define | ISUPPER rb_isupper
| Old name of rb_isupper.
#define | ISLOWER rb_islower
| Old name of rb_islower.
#define | ISALNUM rb_isalnum
| Old name of rb_isalnum.
#define | ISALPHA rb_isalpha
| Old name of rb_isalpha.
#define | ISDIGIT rb_isdigit
| Old name of rb_isdigit.
#define | ISXDIGIT rb_isxdigit
| Old name of rb_isxdigit.
#define | ISBLANK rb_isblank
| Old name of rb_isblank.
#define | ISCNTRL rb_iscntrl
| Old name of rb_iscntrl.
#define | ISPUNCT rb_ispunct
| Old name of rb_ispunct.
#define | TOUPPER rb_toupper
| Old name of rb_toupper.
#define | TOLOWER rb_tolower
| Old name of rb_tolower.
#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.

## Flags for rb_econv_open()
#define | ECONV_ERROR_HANDLER_MASK RUBY_ECONV_ERROR_HANDLER_MASK
| Old name of RUBY_ECONV_ERROR_HANDLER_MASK.
#define | ECONV_INVALID_MASK RUBY_ECONV_INVALID_MASK
| Old name of RUBY_ECONV_INVALID_MASK.
#define | ECONV_INVALID_REPLACE RUBY_ECONV_INVALID_REPLACE
| Old name of RUBY_ECONV_INVALID_REPLACE.
#define | ECONV_UNDEF_MASK RUBY_ECONV_UNDEF_MASK
| Old name of RUBY_ECONV_UNDEF_MASK.
#define | ECONV_UNDEF_REPLACE RUBY_ECONV_UNDEF_REPLACE
| Old name of RUBY_ECONV_UNDEF_REPLACE.
#define | ECONV_UNDEF_HEX_CHARREF RUBY_ECONV_UNDEF_HEX_CHARREF
| Old name of RUBY_ECONV_UNDEF_HEX_CHARREF.
#define | ECONV_DECORATOR_MASK RUBY_ECONV_DECORATOR_MASK
| Old name of RUBY_ECONV_DECORATOR_MASK.
#define | ECONV_NEWLINE_DECORATOR_MASK RUBY_ECONV_NEWLINE_DECORATOR_MASK
| Old name of RUBY_ECONV_NEWLINE_DECORATOR_MASK.
#define | ECONV_NEWLINE_DECORATOR_READ_MASK RUBY_ECONV_NEWLINE_DECORATOR_READ_MASK
| Old name of RUBY_ECONV_NEWLINE_DECORATOR_READ_MASK.
#define | ECONV_NEWLINE_DECORATOR_WRITE_MASK RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK
| Old name of RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK.
#define | ECONV_UNIVERSAL_NEWLINE_DECORATOR RUBY_ECONV_UNIVERSAL_NEWLINE_DECORATOR
| Old name of RUBY_ECONV_UNIVERSAL_NEWLINE_DECORATOR.
#define | ECONV_CRLF_NEWLINE_DECORATOR RUBY_ECONV_CRLF_NEWLINE_DECORATOR
| Old name of RUBY_ECONV_CRLF_NEWLINE_DECORATOR.
#define | ECONV_CR_NEWLINE_DECORATOR RUBY_ECONV_CR_NEWLINE_DECORATOR
| Old name of RUBY_ECONV_CR_NEWLINE_DECORATOR.
#define | ECONV_LF_NEWLINE_DECORATOR RUBY_ECONV_LF_NEWLINE_DECORATOR
| Old name of RUBY_ECONV_LF_NEWLINE_DECORATOR.
#define | ECONV_XML_TEXT_DECORATOR RUBY_ECONV_XML_TEXT_DECORATOR
| Old name of RUBY_ECONV_XML_TEXT_DECORATOR.
#define | ECONV_XML_ATTR_CONTENT_DECORATOR RUBY_ECONV_XML_ATTR_CONTENT_DECORATOR
| Old name of RUBY_ECONV_XML_ATTR_CONTENT_DECORATOR.
#define | ECONV_STATEFUL_DECORATOR_MASK RUBY_ECONV_STATEFUL_DECORATOR_MASK
| Old name of RUBY_ECONV_STATEFUL_DECORATOR_MASK.
#define | ECONV_XML_ATTR_QUOTE_DECORATOR RUBY_ECONV_XML_ATTR_QUOTE_DECORATOR
| Old name of RUBY_ECONV_XML_ATTR_QUOTE_DECORATOR.
#define | ECONV_DEFAULT_NEWLINE_DECORATOR RUBY_ECONV_DEFAULT_NEWLINE_DECORATOR
| Old name of RUBY_ECONV_DEFAULT_NEWLINE_DECORATOR.
| RUBY_ECONV_ERROR_HANDLER_MASK = 0x000000ff
| Mask for error handling related bits.
| RUBY_ECONV_INVALID_MASK = 0x0000000f
| Special handling of invalid sequences are there.
| RUBY_ECONV_INVALID_REPLACE = 0x00000002
| Invalid sequences shall be replaced.
| RUBY_ECONV_UNDEF_MASK = 0x000000f0
| Special handling of undefined conversion are there.
| RUBY_ECONV_UNDEF_REPLACE = 0x00000020
| Undefined characters shall be replaced.
| RUBY_ECONV_UNDEF_HEX_CHARREF = 0x00000030
| Undefined characters shall be escaped.
| RUBY_ECONV_DECORATOR_MASK = 0x0001ff00
| Decorators are there.
| RUBY_ECONV_NEWLINE_DECORATOR_MASK = 0x00007f00
| Newline converters are there.
| RUBY_ECONV_NEWLINE_DECORATOR_READ_MASK = 0x00000f00
| (Unclear; seems unused).
| RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK = 0x00007000
| (Unclear; seems unused).
| RUBY_ECONV_UNIVERSAL_NEWLINE_DECORATOR = 0x00000100
| Universal newline mode.
| RUBY_ECONV_CRLF_NEWLINE_DECORATOR = 0x00001000
| CR to CRLF conversion shall happen.
| RUBY_ECONV_CR_NEWLINE_DECORATOR = 0x00002000
| CRLF to CR conversion shall happen.
| RUBY_ECONV_LF_NEWLINE_DECORATOR = 0x00004000
| CRLF to LF conversion shall happen.
| RUBY_ECONV_XML_TEXT_DECORATOR = 0x00008000
| Texts shall be XML-escaped.
| RUBY_ECONV_XML_ATTR_CONTENT_DECORATOR = 0x00010000
| Texts shall be AttrValue escaped.
| RUBY_ECONV_STATEFUL_DECORATOR_MASK = 0x00f00000
| (Unclear; seems unused).
| RUBY_ECONV_XML_ATTR_QUOTE_DECORATOR = 0x00100000
| Texts shall be AttrValue escaped.
| RUBY_ECONV_DEFAULT_NEWLINE_DECORATOR
| Newline decorator's default.

## Flags for rb_econv_convert()
#define | ECONV_PARTIAL_INPUT RUBY_ECONV_PARTIAL_INPUT
| Old name of RUBY_ECONV_PARTIAL_INPUT.
#define | ECONV_AFTER_OUTPUT RUBY_ECONV_AFTER_OUTPUT
| Old name of RUBY_ECONV_AFTER_OUTPUT.
| RUBY_ECONV_PARTIAL_INPUT = 0x00020000
| Indicates the input is a part of much larger one.
| RUBY_ECONV_AFTER_OUTPUT = 0x00040000
| Instructs the converter to stop after output.
| RUBY_ECONV_FLAGS_PLACEHOLDER
| Placeholder (not used)

## Internal events
@shyouhei 's understanding is that some of them are visible from extension libraries because of `ext/objspace`. 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.

## Detailed Description

These macros are deprecated.

Prefer their `RB_`-prefixed versions.

## Macro Definition Documentation

## ◆ ALLOC

#define ALLOC RB_ALLOC

Old name of RB_ALLOC.

Deprecated
  Use RB_ALLOC instead.

Definition at line 394 of file memory.h.

Referenced by rb_alias_variable(), rb_cvar_set(), rb_f_trace_var(), rb_gc_register_address(), rb_ractor_local_storage_ptr_newkey(), rb_set_end_proc(), and ruby_vm_at_exit().

## ◆ ALLOC_N

#define ALLOC_N RB_ALLOC_N

Old name of RB_ALLOC_N.

Deprecated
  Use RB_ALLOC_N instead.

Definition at line 393 of file memory.h.

Referenced by rb_memory_view_parse_item_format(), rb_str_buf_new(), and ruby_setenv().

## ◆ ALLOCV

#define ALLOCV RB_ALLOCV

Old name of RB_ALLOCV.

Deprecated
  Use RB_ALLOCV instead.

Definition at line 398 of file memory.h.

## ◆ ALLOCV_END

#define ALLOCV_END RB_ALLOCV_END

Old name of RB_ALLOCV_END.

Deprecated
  Use RB_ALLOCV_END instead.

Definition at line 400 of file memory.h.

Referenced by ruby_setenv().

## ◆ ALLOCV_N

#define ALLOCV_N RB_ALLOCV_N

Old name of RB_ALLOCV_N.

Deprecated
  Use RB_ALLOCV_N instead.

Definition at line 399 of file memory.h.

Referenced by ruby_setenv().

## ◆ ASSUME

#define ASSUME RBIMPL_ASSUME

Old name of RBIMPL_ASSUME.

Deprecated
  Use RBIMPL_ASSUME instead.

Definition at line 27 of file assume.h.

## ◆ BUILTIN_TYPE

#define BUILTIN_TYPE RB_BUILTIN_TYPE

Old name of RB_BUILTIN_TYPE.

Deprecated
  Use RB_BUILTIN_TYPE instead.

Definition at line 85 of file value_type.h.

Referenced by rb_class_modify_check(), rb_class_real(), rb_cmperr(), rb_enc_get_index(), rb_gc_location(), rb_gc_writebarrier_unprotect(), rb_ivar_count(), rb_ivar_defined(), rb_mod_ancestors(), rb_mod_include_p(), rb_mod_included_modules(), rb_mod_init_copy(), and rb_num2dbl().

## ◆ Check_TypedStruct

#define Check_TypedStruct | ( |  | v,
|  |  | t )

Value:
rb_check_typeddata(RBIMPL_CAST((VALUE)(v)), (t))
rb_check_typeddata
void * rb_check_typeddata(VALUE obj, const rb_data_type_t *data_type)
Identical to rb_typeddata_is_kind_of(), except it raises exceptions instead of returning false.
Definition error.c:1311
VALUE
uintptr_t VALUE
Type that represents a Ruby object.
Definition value.h:40

Old name of rb_check_typeddata.

Deprecated
  Use rb_check_typeddata instead.

Definition at line 105 of file rtypeddata.h.

## ◆ CHR2FIX

#define CHR2FIX RB_CHR2FIX

Old name of RB_CHR2FIX.

Deprecated
  Use RB_CHR2FIX instead.

Definition at line 34 of file char.h.

## ◆ CLASS_OF

#define CLASS_OF rb_class_of

Old name of rb_class_of.

Deprecated
  Use rb_class_of instead.

Definition at line 203 of file globals.h.

Referenced by rb_any_to_s(), rb_big_clone(), rb_complex_conjugate(), rb_complex_minus(), rb_complex_mul(), rb_complex_plus(), rb_complex_pow(), rb_complex_uminus(), rb_error_frozen_object(), rb_memory_view_available_p(), rb_memory_view_get(), rb_mod_init_copy(), rb_obj_class(), rb_obj_classname(), rb_obj_is_kind_of(), rb_obj_method_arity(), and rb_obj_singleton_methods().

## ◆ CLONESETUP

#define CLONESETUP rb_clone_setup

Old name of rb_clone_setup.

Deprecated
  Use rb_clone_setup instead.

Definition at line 63 of file newobj.h.

## ◆ CONST_ID

#define CONST_ID RUBY_CONST_ID

Old name of RUBY_CONST_ID.

Deprecated
  Use RUBY_CONST_ID instead.

Definition at line 47 of file symbol.h.

Referenced by rb_class_inherited().

## ◆ CONST_ID_CACHE

#define CONST_ID_CACHE RUBY_CONST_ID_CACHE

Old name of RUBY_CONST_ID_CACHE.

Deprecated
  Use RUBY_CONST_ID_CACHE instead.

Definition at line 46 of file symbol.h.

## ◆ DBL2NUM

#define DBL2NUM rb_float_new

Old name of rb_float_new.

Deprecated
  Use rb_float_new instead.

Definition at line 29 of file double.h.

Referenced by rb_big_minus(), rb_big_mul(), rb_big_plus(), rb_big_pow(), and rb_dbl_complex_new().

## ◆ DUPSETUP

#define DUPSETUP rb_dup_setup

Old name of rb_dup_setup.

Deprecated
  Use rb_dup_setup instead.

Definition at line 64 of file newobj.h.

## ◆ DYNAMIC_SYM_P

#define DYNAMIC_SYM_P RB_DYNAMIC_SYM_P

Old name of RB_DYNAMIC_SYM_P.

Deprecated
  Use RB_DYNAMIC_SYM_P instead.

Definition at line 86 of file value_type.h.

Referenced by rb_check_id(), rb_check_symbol(), rb_sym2id(), and rb_sym2str().

## ◆ ECONV_AFTER_OUTPUT

#define ECONV_AFTER_OUTPUT RUBY_ECONV_AFTER_OUTPUT

Old name of RUBY_ECONV_AFTER_OUTPUT.

Deprecated
  Use RUBY_ECONV_AFTER_OUTPUT instead.

Definition at line 555 of file transcode.h.

## ◆ ECONV_CR_NEWLINE_DECORATOR

#define ECONV_CR_NEWLINE_DECORATOR RUBY_ECONV_CR_NEWLINE_DECORATOR

Old name of RUBY_ECONV_CR_NEWLINE_DECORATOR.

Deprecated
  Use RUBY_ECONV_CR_NEWLINE_DECORATOR instead.

Definition at line 534 of file transcode.h.

Referenced by rb_econv_binmode().

## ◆ ECONV_CRLF_NEWLINE_DECORATOR

#define ECONV_CRLF_NEWLINE_DECORATOR RUBY_ECONV_CRLF_NEWLINE_DECORATOR

Old name of RUBY_ECONV_CRLF_NEWLINE_DECORATOR.

Deprecated
  Use RUBY_ECONV_CRLF_NEWLINE_DECORATOR instead.

Definition at line 533 of file transcode.h.

Referenced by rb_econv_binmode().

## ◆ ECONV_DECORATOR_MASK

#define ECONV_DECORATOR_MASK RUBY_ECONV_DECORATOR_MASK

Old name of RUBY_ECONV_DECORATOR_MASK.

Deprecated
  Use RUBY_ECONV_DECORATOR_MASK instead.

Definition at line 528 of file transcode.h.

## ◆ ECONV_DEFAULT_NEWLINE_DECORATOR

#define ECONV_DEFAULT_NEWLINE_DECORATOR RUBY_ECONV_DEFAULT_NEWLINE_DECORATOR

Old name of RUBY_ECONV_DEFAULT_NEWLINE_DECORATOR.

Deprecated
  Use RUBY_ECONV_DEFAULT_NEWLINE_DECORATOR instead.

Definition at line 540 of file transcode.h.

Referenced by rb_io_extract_modeenc().

## ◆ ECONV_ERROR_HANDLER_MASK

#define ECONV_ERROR_HANDLER_MASK RUBY_ECONV_ERROR_HANDLER_MASK

Old name of RUBY_ECONV_ERROR_HANDLER_MASK.

Deprecated
  Use RUBY_ECONV_ERROR_HANDLER_MASK instead.

Definition at line 522 of file transcode.h.

Referenced by rb_econv_open().

## ◆ ECONV_INVALID_MASK

#define ECONV_INVALID_MASK RUBY_ECONV_INVALID_MASK

Old name of RUBY_ECONV_INVALID_MASK.

Deprecated
  Use RUBY_ECONV_INVALID_MASK instead.

Definition at line 523 of file transcode.h.

Referenced by rb_econv_convert().

## ◆ ECONV_INVALID_REPLACE

#define ECONV_INVALID_REPLACE RUBY_ECONV_INVALID_REPLACE

Old name of RUBY_ECONV_INVALID_REPLACE.

Deprecated
  Use RUBY_ECONV_INVALID_REPLACE instead.

Definition at line 524 of file transcode.h.

Referenced by rb_econv_convert().

## ◆ ECONV_LF_NEWLINE_DECORATOR

#define ECONV_LF_NEWLINE_DECORATOR RUBY_ECONV_LF_NEWLINE_DECORATOR

Old name of RUBY_ECONV_LF_NEWLINE_DECORATOR.

Deprecated
  Use RUBY_ECONV_LF_NEWLINE_DECORATOR instead.

Definition at line 535 of file transcode.h.

Referenced by rb_econv_binmode().

## ◆ ECONV_NEWLINE_DECORATOR_MASK

#define ECONV_NEWLINE_DECORATOR_MASK RUBY_ECONV_NEWLINE_DECORATOR_MASK

Old name of RUBY_ECONV_NEWLINE_DECORATOR_MASK.

Deprecated
  Use RUBY_ECONV_NEWLINE_DECORATOR_MASK instead.

Definition at line 529 of file transcode.h.

Referenced by rb_econv_binmode().

## ◆ ECONV_NEWLINE_DECORATOR_READ_MASK

#define ECONV_NEWLINE_DECORATOR_READ_MASK RUBY_ECONV_NEWLINE_DECORATOR_READ_MASK

Old name of RUBY_ECONV_NEWLINE_DECORATOR_READ_MASK.

Deprecated
  Use RUBY_ECONV_NEWLINE_DECORATOR_READ_MASK instead.

Definition at line 530 of file transcode.h.

## ◆ ECONV_NEWLINE_DECORATOR_WRITE_MASK

#define ECONV_NEWLINE_DECORATOR_WRITE_MASK RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK

Old name of RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK.

Deprecated
  Use RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK instead.

Definition at line 531 of file transcode.h.

## ◆ ECONV_PARTIAL_INPUT

#define ECONV_PARTIAL_INPUT RUBY_ECONV_PARTIAL_INPUT

Old name of RUBY_ECONV_PARTIAL_INPUT.

Deprecated
  Use RUBY_ECONV_PARTIAL_INPUT instead.

Definition at line 554 of file transcode.h.

## ◆ ECONV_STATEFUL_DECORATOR_MASK

#define ECONV_STATEFUL_DECORATOR_MASK RUBY_ECONV_STATEFUL_DECORATOR_MASK

Old name of RUBY_ECONV_STATEFUL_DECORATOR_MASK.

Deprecated
  Use RUBY_ECONV_STATEFUL_DECORATOR_MASK instead.

Definition at line 538 of file transcode.h.

## ◆ ECONV_UNDEF_HEX_CHARREF

#define ECONV_UNDEF_HEX_CHARREF RUBY_ECONV_UNDEF_HEX_CHARREF

Old name of RUBY_ECONV_UNDEF_HEX_CHARREF.

Deprecated
  Use RUBY_ECONV_UNDEF_HEX_CHARREF instead.

Definition at line 527 of file transcode.h.

Referenced by rb_econv_convert().

## ◆ ECONV_UNDEF_MASK

#define ECONV_UNDEF_MASK RUBY_ECONV_UNDEF_MASK

Old name of RUBY_ECONV_UNDEF_MASK.

Deprecated
  Use RUBY_ECONV_UNDEF_MASK instead.

Definition at line 525 of file transcode.h.

Referenced by rb_econv_convert().

## ◆ ECONV_UNDEF_REPLACE

#define ECONV_UNDEF_REPLACE RUBY_ECONV_UNDEF_REPLACE

Old name of RUBY_ECONV_UNDEF_REPLACE.

Deprecated
  Use RUBY_ECONV_UNDEF_REPLACE instead.

Definition at line 526 of file transcode.h.

Referenced by rb_econv_convert().

## ◆ ECONV_UNIVERSAL_NEWLINE_DECORATOR

#define ECONV_UNIVERSAL_NEWLINE_DECORATOR RUBY_ECONV_UNIVERSAL_NEWLINE_DECORATOR

Old name of RUBY_ECONV_UNIVERSAL_NEWLINE_DECORATOR.

Deprecated
  Use RUBY_ECONV_UNIVERSAL_NEWLINE_DECORATOR instead.

Definition at line 532 of file transcode.h.

Referenced by rb_econv_binmode(), and rb_io_extract_modeenc().

## ◆ ECONV_XML_ATTR_CONTENT_DECORATOR

#define ECONV_XML_ATTR_CONTENT_DECORATOR RUBY_ECONV_XML_ATTR_CONTENT_DECORATOR

Old name of RUBY_ECONV_XML_ATTR_CONTENT_DECORATOR.

Deprecated
  Use RUBY_ECONV_XML_ATTR_CONTENT_DECORATOR instead.

Definition at line 537 of file transcode.h.

## ◆ ECONV_XML_ATTR_QUOTE_DECORATOR

#define ECONV_XML_ATTR_QUOTE_DECORATOR RUBY_ECONV_XML_ATTR_QUOTE_DECORATOR

Old name of RUBY_ECONV_XML_ATTR_QUOTE_DECORATOR.

Deprecated
  Use RUBY_ECONV_XML_ATTR_QUOTE_DECORATOR instead.

Definition at line 539 of file transcode.h.

## ◆ ECONV_XML_TEXT_DECORATOR

#define ECONV_XML_TEXT_DECORATOR RUBY_ECONV_XML_TEXT_DECORATOR

Old name of RUBY_ECONV_XML_TEXT_DECORATOR.

Deprecated
  Use RUBY_ECONV_XML_TEXT_DECORATOR instead.

Definition at line 536 of file transcode.h.

## ◆ ELTS_SHARED

#define ELTS_SHARED RUBY_ELTS_SHARED

Old name of RUBY_ELTS_SHARED.

Deprecated
  Use RUBY_ELTS_SHARED instead.

Definition at line 92 of file fl_type.h.

## ◆ ENC_CODERANGE

#define ENC_CODERANGE | ( |  | obj | ) |

Value:
RB_ENC_CODERANGE(obj)
RB_ENC_CODERANGE
static enum ruby_coderange_type RB_ENC_CODERANGE(VALUE obj)
Queries the (inline) code range of the passed object.
Definition coderange.h:95

Old name of RB_ENC_CODERANGE.

Deprecated
  Use RB_ENC_CODERANGE instead.

Definition at line 184 of file coderange.h.

Referenced by rb_enc_str_coderange(), rb_str_buf_append(), rb_str_concat(), rb_str_format(), rb_str_plus(), rb_str_resize(), rb_str_scrub(), rb_str_set_len(), rb_str_sublen(), rb_str_subpos(), and rb_str_update().

## ◆ ENC_CODERANGE_7BIT

#define ENC_CODERANGE_7BIT RUBY_ENC_CODERANGE_7BIT

Old name of RUBY_ENC_CODERANGE_7BIT.

Deprecated
  Use RUBY_ENC_CODERANGE_7BIT instead.

Definition at line 180 of file coderange.h.

Referenced by rb_econv_append(), rb_str_buf_append(), rb_str_buf_cat_ascii(), rb_str_coderange_scan_restartable(), rb_str_comparable(), rb_str_concat(), rb_str_dump(), rb_str_format(), rb_str_resize(), rb_str_set_len(), rb_usascii_str_new(), and rb_usascii_str_new_cstr().

## ◆ ENC_CODERANGE_AND

#define ENC_CODERANGE_AND | ( |  | a,
|  |  | b )

Value:
RB_ENC_CODERANGE_AND(a, b)
RB_ENC_CODERANGE_AND
static enum ruby_coderange_type RB_ENC_CODERANGE_AND(enum ruby_coderange_type a, enum ruby_coderange_type b)
"Mix" two code ranges into one.
Definition coderange.h:162

Old name of RB_ENC_CODERANGE_AND.

Deprecated
  Use RB_ENC_CODERANGE_AND instead.

Definition at line 188 of file coderange.h.

Referenced by rb_str_plus(), and rb_str_update().

## ◆ ENC_CODERANGE_ASCIIONLY

#define ENC_CODERANGE_ASCIIONLY | ( |  | obj | ) |

Value:
RB_ENC_CODERANGE_ASCIIONLY(obj)
RB_ENC_CODERANGE_ASCIIONLY
static bool RB_ENC_CODERANGE_ASCIIONLY(VALUE obj)
Queries the (inline) code range of the passed object is RUBY_ENC_CODERANGE_7BIT.
Definition coderange.h:114

Old name of RB_ENC_CODERANGE_ASCIIONLY.

Deprecated
  Use RB_ENC_CODERANGE_ASCIIONLY instead.

Definition at line 185 of file coderange.h.

Referenced by rb_enc_associate_index().

## ◆ ENC_CODERANGE_BROKEN

#define ENC_CODERANGE_BROKEN RUBY_ENC_CODERANGE_BROKEN

Old name of RUBY_ENC_CODERANGE_BROKEN.

Deprecated
  Use RUBY_ENC_CODERANGE_BROKEN instead.

Definition at line 182 of file coderange.h.

Referenced by rb_econv_append(), rb_str_coderange_scan_restartable(), rb_str_concat(), rb_str_set_len(), and rb_str_update().

## ◆ ENC_CODERANGE_CLEAN_P

#define ENC_CODERANGE_CLEAN_P | ( |  | cr | ) |

Value:
RB_ENC_CODERANGE_CLEAN_P(cr)
RB_ENC_CODERANGE_CLEAN_P
static bool RB_ENC_CODERANGE_CLEAN_P(enum ruby_coderange_type cr)
Queries if a code range is "clean".
Definition coderange.h:80

Old name of RB_ENC_CODERANGE_CLEAN_P.

Deprecated
  Use RB_ENC_CODERANGE_CLEAN_P instead.

Definition at line 183 of file coderange.h.

Referenced by rb_str_set_len().

## ◆ ENC_CODERANGE_CLEAR

#define ENC_CODERANGE_CLEAR | ( |  | obj | ) |

Value:
RB_ENC_CODERANGE_CLEAR(obj)
RB_ENC_CODERANGE_CLEAR
static void RB_ENC_CODERANGE_CLEAR(VALUE obj)
Destructively clears the passed object's (inline) code range.
Definition coderange.h:144

Old name of RB_ENC_CODERANGE_CLEAR.

Deprecated
  Use RB_ENC_CODERANGE_CLEAR instead.

Definition at line 187 of file coderange.h.

Referenced by rb_enc_associate_index(), rb_str_drop_bytes(), rb_str_modify(), rb_str_modify_expand(), and rb_str_resize().

## ◆ ENC_CODERANGE_MASK

#define ENC_CODERANGE_MASK RUBY_ENC_CODERANGE_MASK

Old name of RUBY_ENC_CODERANGE_MASK.

Deprecated
  Use RUBY_ENC_CODERANGE_MASK instead.

Definition at line 178 of file coderange.h.

## ◆ ENC_CODERANGE_SET

#define ENC_CODERANGE_SET | ( |  | obj,
|  |  | cr )

Value:
RB_ENC_CODERANGE_SET(obj,cr)
RB_ENC_CODERANGE_SET
static void RB_ENC_CODERANGE_SET(VALUE obj, enum ruby_coderange_type cr)
Destructively modifies the passed object so that its (inline) code range is the passed one.
Definition coderange.h:129

Old name of RB_ENC_CODERANGE_SET.

Deprecated
  Use RB_ENC_CODERANGE_SET instead.

Definition at line 186 of file coderange.h.

Referenced by rb_econv_append(), rb_enc_str_coderange(), rb_str_buf_append(), rb_str_concat(), rb_str_dump(), rb_str_format(), rb_str_set_len(), and rb_str_update().

## ◆ ENC_CODERANGE_UNKNOWN

#define ENC_CODERANGE_UNKNOWN RUBY_ENC_CODERANGE_UNKNOWN

Old name of RUBY_ENC_CODERANGE_UNKNOWN.

Deprecated
  Use RUBY_ENC_CODERANGE_UNKNOWN instead.

Definition at line 179 of file coderange.h.

Referenced by rb_econv_append(), rb_enc_str_buf_cat(), rb_enc_str_coderange(), rb_enc_strlen(), rb_str_coderange_scan_restartable(), rb_str_concat(), and rb_str_set_len().

## ◆ ENC_CODERANGE_VALID

#define ENC_CODERANGE_VALID RUBY_ENC_CODERANGE_VALID

Old name of RUBY_ENC_CODERANGE_VALID.

Deprecated
  Use RUBY_ENC_CODERANGE_VALID instead.

Definition at line 181 of file coderange.h.

Referenced by rb_econv_append(), rb_str_buf_append(), rb_str_buf_cat_ascii(), rb_str_coderange_scan_restartable(), rb_str_concat(), rb_str_format(), and rb_str_subpos().

## ◆ ENCODING_CODERANGE_SET

#define ENCODING_CODERANGE_SET | ( |  | obj,
|  |  | encindex,
|  |  | cr )

Value:
RB_ENCODING_CODERANGE_SET(obj, encindex, cr)
RB_ENCODING_CODERANGE_SET
static void RB_ENCODING_CODERANGE_SET(VALUE obj, int encindex, enum ruby_coderange_type cr)
This is RB_ENCODING_SET + RB_ENC_CODERANGE_SET combo.
Definition encoding.h:237

Old name of RB_ENCODING_CODERANGE_SET.

Deprecated
  Use RB_ENCODING_CODERANGE_SET instead.

Definition at line 189 of file coderange.h.

Referenced by rb_str_plus(), rb_usascii_str_new(), and rb_usascii_str_new_cstr().

## ◆ ENCODING_GET

#define ENCODING_GET | ( |  | obj | ) |

Value:
RB_ENCODING_GET(obj)
RB_ENCODING_GET
static int RB_ENCODING_GET(VALUE obj)
Just another name of rb_enc_get_index.
Definition encoding.h:194

Old name of RB_ENCODING_GET.

Deprecated
  Use RB_ENCODING_GET instead.

Definition at line 108 of file encoding.h.

Referenced by rb_reg_regcomp(), rb_str_buf_append(), rb_str_buf_cat_ascii(), rb_str_cmp(), rb_str_comparable(), rb_str_encode_ospath(), rb_str_hash(), and rb_str_inspect().

## ◆ ENCODING_GET_INLINED

#define ENCODING_GET_INLINED | ( |  | obj | ) |

Value:
RB_ENCODING_GET_INLINED(obj)
RB_ENCODING_GET_INLINED
static int RB_ENCODING_GET_INLINED(VALUE obj)
Queries the encoding of the passed object.
Definition encoding.h:98

Old name of RB_ENCODING_GET_INLINED.

Deprecated
  Use RB_ENCODING_GET_INLINED instead.

Definition at line 107 of file encoding.h.

Referenced by rb_str_buf_append().

## ◆ ENCODING_INLINE_MAX

#define ENCODING_INLINE_MAX RUBY_ENCODING_INLINE_MAX

Old name of RUBY_ENCODING_INLINE_MAX.

Deprecated
  Use RUBY_ENCODING_INLINE_MAX instead.

Definition at line 66 of file encoding.h.

## ◆ ENCODING_IS_ASCII8BIT

#define ENCODING_IS_ASCII8BIT | ( |  | obj | ) |

Value:
RB_ENCODING_IS_ASCII8BIT(obj)
RB_ENCODING_IS_ASCII8BIT
static bool RB_ENCODING_IS_ASCII8BIT(VALUE obj)
Queries if the passed object is in ascii 8bit (== binary) encoding.
Definition encoding.h:926

Old name of RB_ENCODING_IS_ASCII8BIT.

Deprecated
  Use RB_ENCODING_IS_ASCII8BIT instead.

Definition at line 109 of file encoding.h.

## ◆ ENCODING_MASK

#define ENCODING_MASK RUBY_ENCODING_MASK

Old name of RUBY_ENCODING_MASK.

Deprecated
  Use RUBY_ENCODING_MASK instead.

Definition at line 68 of file encoding.h.

## ◆ ENCODING_MAXNAMELEN

#define ENCODING_MAXNAMELEN RUBY_ENCODING_MAXNAMELEN

Old name of RUBY_ENCODING_MAXNAMELEN.

Deprecated
  Use RUBY_ENCODING_MAXNAMELEN instead.

Definition at line 110 of file encoding.h.

## ◆ ENCODING_SET

#define ENCODING_SET | ( |  | obj,
|  |  | i )

Value:
RB_ENCODING_SET(obj,i)
RB_ENCODING_SET
static void RB_ENCODING_SET(VALUE obj, int encindex)
Just another name of rb_enc_set_index.
Definition encoding.h:220

Old name of RB_ENCODING_SET.

Deprecated
  Use RB_ENCODING_SET instead.

Definition at line 106 of file encoding.h.

## ◆ ENCODING_SET_INLINED

#define ENCODING_SET_INLINED | ( |  | obj,
|  |  | i )

Value:
RB_ENCODING_SET_INLINED(obj,i)
RB_ENCODING_SET_INLINED
static void RB_ENCODING_SET_INLINED(VALUE obj, int encindex)
Destructively assigns the passed encoding to the passed object.
Definition encoding.h:80

Old name of RB_ENCODING_SET_INLINED.

Deprecated
  Use RB_ENCODING_SET_INLINED instead.

Definition at line 105 of file encoding.h.

## ◆ ENCODING_SHIFT

#define ENCODING_SHIFT RUBY_ENCODING_SHIFT

Old name of RUBY_ENCODING_SHIFT.

Deprecated
  Use RUBY_ENCODING_SHIFT instead.

Definition at line 67 of file encoding.h.

## ◆ FIX2INT

#define FIX2INT RB_FIX2INT

Old name of RB_FIX2INT.

Deprecated
  Use RB_FIX2INT instead.

Definition at line 41 of file int.h.

Referenced by rb_f_kill(), rb_fix2int(), and ruby_executable_node().

## ◆ FIX2LONG

#define FIX2LONG RB_FIX2LONG

Old name of RB_FIX2LONG.

Deprecated
  Use RB_FIX2LONG instead.

Definition at line 46 of file long.h.

Referenced by rb_absint_singlebit_p(), rb_absint_size(), rb_big_and(), rb_big_divmod(), rb_big_lshift(), rb_big_minus(), rb_big_modulo(), rb_big_mul(), rb_big_or(), rb_big_plus(), rb_big_pow(), rb_big_rshift(), rb_big_xor(), rb_cmpint(), rb_complex_pow(), rb_fix2short(), rb_fix2str(), rb_get_values_at(), rb_integer_pack(), rb_num2long(), rb_str_concat(), and rb_str_format().

## ◆ FIX2SHORT

#define FIX2SHORT RB_FIX2SHORT

Old name of RB_FIX2SHORT.

Deprecated
  Use RB_FIX2SHORT instead.

Definition at line 36 of file short.h.

## ◆ FIX2UINT

#define FIX2UINT RB_FIX2UINT

Old name of RB_FIX2UINT.

Deprecated
  Use RB_FIX2UINT instead.

Definition at line 42 of file int.h.

Referenced by rb_io_ungetc().

## ◆ FIX2ULONG

#define FIX2ULONG RB_FIX2ULONG

Old name of RB_FIX2ULONG.

Deprecated
  Use RB_FIX2ULONG instead.

Definition at line 47 of file long.h.

Referenced by rb_fix2ushort().

## ◆ FIXABLE

#define FIXABLE RB_FIXABLE

Old name of RB_FIXABLE.

Deprecated
  Use RB_FIXABLE instead.

Definition at line 25 of file fixnum.h.

Referenced by rb_int2inum(), rb_ll2num_inline(), rb_num2fix(), and rb_str_format().

## ◆ FIXNUM_FLAG

#define FIXNUM_FLAG RUBY_FIXNUM_FLAG

Old name of RUBY_FIXNUM_FLAG.

Deprecated
  Use RUBY_FIXNUM_FLAG instead.

Definition at line 64 of file special_consts.h.

## ◆ FIXNUM_MAX

#define FIXNUM_MAX RUBY_FIXNUM_MAX

Old name of RUBY_FIXNUM_MAX.

Deprecated
  Use RUBY_FIXNUM_MAX instead.

Definition at line 26 of file fixnum.h.

Referenced by rb_big_pow().

## ◆ FIXNUM_MIN

#define FIXNUM_MIN RUBY_FIXNUM_MIN

Old name of RUBY_FIXNUM_MIN.

Deprecated
  Use RUBY_FIXNUM_MIN instead.

Definition at line 27 of file fixnum.h.

## ◆ FIXNUM_P

#define FIXNUM_P RB_FIXNUM_P

Old name of RB_FIXNUM_P.

Deprecated
  Use RB_FIXNUM_P instead.

Definition at line 53 of file special_consts.h.

Referenced by rb_absint_singlebit_p(), rb_absint_size(), rb_big_and(), rb_big_cmp(), rb_big_divmod(), rb_big_eq(), rb_big_lshift(), rb_big_minus(), rb_big_modulo(), rb_big_mul(), rb_big_or(), rb_big_plus(), rb_big_pow(), rb_big_rshift(), rb_big_xor(), rb_cmpint(), rb_complex_pow(), rb_f_kill(), rb_fix2short(), rb_fix2ushort(), rb_get_values_at(), rb_integer_pack(), rb_io_ungetc(), rb_num2dbl(), rb_num2fix(), rb_num2long(), rb_str_concat(), rb_str_format(), and ruby_executable_node().

## ◆ FL_ABLE

#define FL_ABLE RB_FL_ABLE

Old name of RB_FL_ABLE.

Deprecated
  Use RB_FL_ABLE instead.

Definition at line 122 of file fl_type.h.

Referenced by rb_check_copyable().

## ◆ FL_ALL

#define FL_ALL RB_FL_ALL

Old name of RB_FL_ALL.

Deprecated
  Use RB_FL_ALL instead.

Definition at line 123 of file fl_type.h.

## ◆ FL_ALL_RAW

#define FL_ALL_RAW RB_FL_ALL_RAW

Old name of RB_FL_ALL_RAW.

Deprecated
  Use RB_FL_ALL_RAW instead.

Definition at line 124 of file fl_type.h.

## ◆ FL_ANY

#define FL_ANY RB_FL_ANY

Old name of RB_FL_ANY.

Deprecated
  Use RB_FL_ANY instead.

Definition at line 125 of file fl_type.h.

## ◆ FL_ANY_RAW

#define FL_ANY_RAW RB_FL_ANY_RAW

Old name of RB_FL_ANY_RAW.

Deprecated
  Use RB_FL_ANY_RAW instead.

Definition at line 126 of file fl_type.h.

## ◆ FL_EXIVAR

#define FL_EXIVAR RBIMPL_CAST((VALUE)RUBY_FL_EXIVAR)

Old name of RUBY_FL_EXIVAR.

Deprecated
  Use RUBY_FL_EXIVAR instead.

Definition at line 66 of file fl_type.h.

Referenced by rb_copy_generic_ivar(), rb_hash_dup(), and rb_ivar_count().

## ◆ FL_FINALIZE

#define FL_FINALIZE RBIMPL_CAST((VALUE)RUBY_FL_FINALIZE)

Old name of RUBY_FL_FINALIZE.

Deprecated
  Use RUBY_FL_FINALIZE instead.

Definition at line 61 of file fl_type.h.

Referenced by rb_gc_copy_finalizer(), and rb_undefine_finalizer().

## ◆ FL_FREEZE

#define FL_FREEZE RBIMPL_CAST((VALUE)RUBY_FL_FREEZE)

Old name of RUBY_FL_FREEZE.

Deprecated
  Use RUBY_FL_FREEZE instead.

Definition at line 67 of file fl_type.h.

Referenced by rb_ary_sort_bang(), and rb_freeze_singleton_class().

## ◆ FL_PROMOTED

#define FL_PROMOTED RBIMPL_CAST((VALUE)RUBY_FL_PROMOTED)

Old name of RUBY_FL_PROMOTED.

Deprecated
  Use RUBY_FL_PROMOTED instead.

Definition at line 60 of file fl_type.h.

## ◆ FL_REVERSE

#define FL_REVERSE RB_FL_REVERSE

Old name of RB_FL_REVERSE.

Deprecated
  Use RB_FL_REVERSE instead.

Definition at line 127 of file fl_type.h.

## ◆ FL_REVERSE_RAW

#define FL_REVERSE_RAW RB_FL_REVERSE_RAW

Old name of RB_FL_REVERSE_RAW.

Deprecated
  Use RB_FL_REVERSE_RAW instead.

Definition at line 128 of file fl_type.h.

## ◆ FL_SEEN_OBJ_ID

#define FL_SEEN_OBJ_ID RBIMPL_CAST((VALUE)RUBY_FL_SEEN_OBJ_ID)

Old name of RUBY_FL_SEEN_OBJ_ID.

Deprecated
  Use RUBY_FL_SEEN_OBJ_ID instead.

Definition at line 65 of file fl_type.h.

## ◆ FL_SET

#define FL_SET RB_FL_SET

Old name of RB_FL_SET.

Deprecated
  Use RB_FL_SET instead.

Definition at line 129 of file fl_type.h.

Referenced by make_metaclass(), make_singleton_class(), rb_ary_sort_bang(), rb_copy_generic_ivar(), rb_gc_copy_finalizer(), and rb_match_busy().

## ◆ FL_SET_RAW

#define FL_SET_RAW RB_FL_SET_RAW

Old name of RB_FL_SET_RAW.

Deprecated
  Use RB_FL_SET_RAW instead.

Definition at line 130 of file fl_type.h.

## ◆ FL_SHAREABLE

#define FL_SHAREABLE RBIMPL_CAST((VALUE)RUBY_FL_SHAREABLE)

Old name of RUBY_FL_SHAREABLE.

Deprecated
  Use RUBY_FL_SHAREABLE instead.

Definition at line 63 of file fl_type.h.

## ◆ FL_SINGLETON

#define FL_SINGLETON RBIMPL_CAST((VALUE)RUBY_FL_SINGLETON)

Old name of RUBY_FL_SINGLETON.

Deprecated
  Use RUBY_FL_SINGLETON instead.

Definition at line 58 of file fl_type.h.

Referenced by make_metaclass(), make_singleton_class(), rb_check_inheritable(), rb_class_attached_object(), rb_class_modify_check(), rb_class_real(), rb_freeze_singleton_class(), rb_mod_init_copy(), rb_obj_singleton_methods(), rb_profile_frame_classpath(), rb_profile_frame_singleton_method_p(), rb_singleton_class_attached(), and rb_singleton_class_get().

## ◆ FL_TAINT

#define FL_TAINT RBIMPL_CAST((VALUE)RUBY_FL_TAINT)

Old name of RUBY_FL_TAINT.

Deprecated
  Use RUBY_FL_TAINT instead.

Definition at line 62 of file fl_type.h.

## ◆ FL_TEST

#define FL_TEST RB_FL_TEST

Old name of RB_FL_TEST.

Deprecated
  Use RB_FL_TEST instead.

Definition at line 131 of file fl_type.h.

Referenced by rb_class_attached_object(), rb_class_modify_check(), rb_copy_generic_ivar(), rb_freeze_singleton_class(), rb_gc_copy_finalizer(), rb_ivar_count(), rb_mod_ancestors(), rb_mod_include_p(), rb_mod_init_copy(), rb_obj_singleton_methods(), rb_profile_frame_classpath(), rb_profile_frame_singleton_method_p(), rb_singleton_class_attached(), rb_singleton_class_get(), rb_str_free(), and rb_str_unlocktmp().

## ◆ FL_TEST_RAW

#define FL_TEST_RAW RB_FL_TEST_RAW

Old name of RB_FL_TEST_RAW.

Deprecated
  Use RB_FL_TEST_RAW instead.

Definition at line 132 of file fl_type.h.

## ◆ FL_UNSET

#define FL_UNSET RB_FL_UNSET

Old name of RB_FL_UNSET.

Deprecated
  Use RB_FL_UNSET instead.

Definition at line 133 of file fl_type.h.

Referenced by rb_ary_sort_bang(), rb_copy_generic_ivar(), rb_str_unlocktmp(), and rb_undefine_finalizer().

## ◆ FL_UNSET_RAW

#define FL_UNSET_RAW RB_FL_UNSET_RAW

Old name of RB_FL_UNSET_RAW.

Deprecated
  Use RB_FL_UNSET_RAW instead.

Definition at line 134 of file fl_type.h.

## ◆ FL_UNTRUSTED

#define FL_UNTRUSTED RBIMPL_CAST((VALUE)RUBY_FL_UNTRUSTED)

Old name of RUBY_FL_UNTRUSTED.

Deprecated
  Use RUBY_FL_UNTRUSTED instead.

Definition at line 64 of file fl_type.h.

## ◆ FL_USER0

#define FL_USER0 RBIMPL_CAST((VALUE)RUBY_FL_USER0)

Old name of RUBY_FL_USER0.

Deprecated
  Use RUBY_FL_USER0 instead.

Definition at line 71 of file fl_type.h.

## ◆ FL_USER1

#define FL_USER1 RBIMPL_CAST((VALUE)RUBY_FL_USER1)

Old name of RUBY_FL_USER1.

Deprecated
  Use RUBY_FL_USER1 instead.

Definition at line 72 of file fl_type.h.

## ◆ FL_USER10

#define FL_USER10 RBIMPL_CAST((VALUE)RUBY_FL_USER10)

Old name of RUBY_FL_USER10.

Deprecated
  Use RUBY_FL_USER10 instead.

Definition at line 81 of file fl_type.h.

## ◆ FL_USER11

#define FL_USER11 RBIMPL_CAST((VALUE)RUBY_FL_USER11)

Old name of RUBY_FL_USER11.

Deprecated
  Use RUBY_FL_USER11 instead.

Definition at line 82 of file fl_type.h.

## ◆ FL_USER12

#define FL_USER12 RBIMPL_CAST((VALUE)RUBY_FL_USER12)

Old name of RUBY_FL_USER12.

Deprecated
  Use RUBY_FL_USER12 instead.

Definition at line 83 of file fl_type.h.

## ◆ FL_USER13

#define FL_USER13 RBIMPL_CAST((VALUE)RUBY_FL_USER13)

Old name of RUBY_FL_USER13.

Deprecated
  Use RUBY_FL_USER13 instead.

Definition at line 84 of file fl_type.h.

## ◆ FL_USER14

#define FL_USER14 RBIMPL_CAST((VALUE)RUBY_FL_USER14)

Old name of RUBY_FL_USER14.

Deprecated
  Use RUBY_FL_USER14 instead.

Definition at line 85 of file fl_type.h.

## ◆ FL_USER15

#define FL_USER15 RBIMPL_CAST((VALUE)RUBY_FL_USER15)

Old name of RUBY_FL_USER15.

Deprecated
  Use RUBY_FL_USER15 instead.

Definition at line 86 of file fl_type.h.

## ◆ FL_USER16

#define FL_USER16 RBIMPL_CAST((VALUE)RUBY_FL_USER16)

Old name of RUBY_FL_USER16.

Deprecated
  Use RUBY_FL_USER16 instead.

Definition at line 87 of file fl_type.h.

## ◆ FL_USER17

#define FL_USER17 RBIMPL_CAST((VALUE)RUBY_FL_USER17)

Old name of RUBY_FL_USER17.

Deprecated
  Use RUBY_FL_USER17 instead.

Definition at line 88 of file fl_type.h.

## ◆ FL_USER18

#define FL_USER18 RBIMPL_CAST((VALUE)RUBY_FL_USER18)

Old name of RUBY_FL_USER18.

Deprecated
  Use RUBY_FL_USER18 instead.

Definition at line 89 of file fl_type.h.

## ◆ FL_USER19

#define FL_USER19 RBIMPL_CAST((VALUE)(unsigned int)RUBY_FL_USER19)

Old name of RUBY_FL_USER19.

Deprecated
  Use RUBY_FL_USER19 instead.

Definition at line 90 of file fl_type.h.

## ◆ FL_USER2

#define FL_USER2 RBIMPL_CAST((VALUE)RUBY_FL_USER2)

Old name of RUBY_FL_USER2.

Deprecated
  Use RUBY_FL_USER2 instead.

Definition at line 73 of file fl_type.h.

## ◆ FL_USER3

#define FL_USER3 RBIMPL_CAST((VALUE)RUBY_FL_USER3)

Old name of RUBY_FL_USER3.

Deprecated
  Use RUBY_FL_USER3 instead.

Definition at line 74 of file fl_type.h.

## ◆ FL_USER4

#define FL_USER4 RBIMPL_CAST((VALUE)RUBY_FL_USER4)

Old name of RUBY_FL_USER4.

Deprecated
  Use RUBY_FL_USER4 instead.

Definition at line 75 of file fl_type.h.

## ◆ FL_USER5

#define FL_USER5 RBIMPL_CAST((VALUE)RUBY_FL_USER5)

Old name of RUBY_FL_USER5.

Deprecated
  Use RUBY_FL_USER5 instead.

Definition at line 76 of file fl_type.h.

## ◆ FL_USER6

#define FL_USER6 RBIMPL_CAST((VALUE)RUBY_FL_USER6)

Old name of RUBY_FL_USER6.

Deprecated
  Use RUBY_FL_USER6 instead.

Definition at line 77 of file fl_type.h.

## ◆ FL_USER7

#define FL_USER7 RBIMPL_CAST((VALUE)RUBY_FL_USER7)

Old name of RUBY_FL_USER7.

Deprecated
  Use RUBY_FL_USER7 instead.

Definition at line 78 of file fl_type.h.

## ◆ FL_USER8

#define FL_USER8 RBIMPL_CAST((VALUE)RUBY_FL_USER8)

Old name of RUBY_FL_USER8.

Deprecated
  Use RUBY_FL_USER8 instead.

Definition at line 79 of file fl_type.h.

## ◆ FL_USER9

#define FL_USER9 RBIMPL_CAST((VALUE)RUBY_FL_USER9)

Old name of RUBY_FL_USER9.

Deprecated
  Use RUBY_FL_USER9 instead.

Definition at line 80 of file fl_type.h.

## ◆ FL_USHIFT

#define FL_USHIFT RBIMPL_CAST((VALUE)RUBY_FL_USHIFT)

Old name of RUBY_FL_USHIFT.

Deprecated
  Use RUBY_FL_USHIFT instead.

Definition at line 69 of file fl_type.h.

## ◆ FL_WB_PROTECTED

#define FL_WB_PROTECTED RBIMPL_CAST((VALUE)RUBY_FL_WB_PROTECTED)

Old name of RUBY_FL_WB_PROTECTED.

Deprecated
  Use RUBY_FL_WB_PROTECTED instead.

Definition at line 59 of file fl_type.h.

Referenced by class_alloc(), rb_float_new_in_heap(), and rb_newobj_of().

## ◆ FLONUM_FLAG

#define FLONUM_FLAG RUBY_FLONUM_FLAG

Old name of RUBY_FLONUM_FLAG.

Deprecated
  Use RUBY_FLONUM_FLAG instead.

Definition at line 65 of file special_consts.h.

## ◆ FLONUM_MASK

#define FLONUM_MASK RUBY_FLONUM_MASK

Old name of RUBY_FLONUM_MASK.

Deprecated
  Use RUBY_FLONUM_MASK instead.

Definition at line 66 of file special_consts.h.

## ◆ FLONUM_P

#define FLONUM_P RB_FLONUM_P

Old name of RB_FLONUM_P.

Deprecated
  Use RB_FLONUM_P instead.

Definition at line 67 of file special_consts.h.

Referenced by rb_num2dbl().

## ◆ ID2SYM

#define ID2SYM RB_ID2SYM

Old name of RB_ID2SYM.

Deprecated
  Use RB_ID2SYM instead.

Definition at line 44 of file symbol.h.

Referenced by rb_const_remove(), rb_cvar_find(), rb_deprecate_constant(), rb_ext_resolve_symbol(), rb_f_global_variables(), rb_get_kwargs(), rb_mod_remove_cvar(), rb_name_error(), rb_str_intern(), rb_struct_getmember(), rb_tracearg_callee_id(), rb_tracearg_event(), and rb_tracearg_method_id().

## ◆ IMMEDIATE_MASK

#define IMMEDIATE_MASK RUBY_IMMEDIATE_MASK

Old name of RUBY_IMMEDIATE_MASK.

Deprecated
  Use RUBY_IMMEDIATE_MASK instead.

Definition at line 68 of file special_consts.h.

## ◆ IMMEDIATE_P

#define IMMEDIATE_P RB_IMMEDIATE_P

Old name of RB_IMMEDIATE_P.

Deprecated
  Use RB_IMMEDIATE_P instead.

Definition at line 54 of file special_consts.h.

## ◆ INT2FIX

#define INT2FIX RB_INT2FIX

Old name of RB_INT2FIX.

Deprecated
  Use RB_INT2FIX instead.

Definition at line 48 of file long.h.

Referenced by rb_arithmetic_sequence_extract(), rb_ary_cmp(), rb_big_cmp(), rb_big_pow(), rb_cmpint(), rb_cstr_to_inum(), rb_dbl_cmp(), rb_debug_inspector_current_depth(), rb_f_kill(), rb_flt_rationalize(), rb_hash_size(), rb_io_getbyte(), rb_io_ungetbyte(), rb_memory_view_get_item(), rb_random_base_init(), rb_reset_random_seed(), rb_str_format(), rb_str_times(), rb_thread_sleep(), rb_time_timespec_new(), rb_time_utc_offset(), rb_tracearg_lineno(), and ruby_options().

## ◆ INT2NUM

#define INT2NUM RB_INT2NUM

Old name of RB_INT2NUM.

Deprecated
  Use RB_INT2NUM instead.

Definition at line 43 of file int.h.

Referenced by rb_exit(), rb_f_abort(), rb_io_extract_modeenc(), RSTRUCT_GET(), and RSTRUCT_SET().

## ◆ ISALNUM

#define ISALNUM rb_isalnum

Old name of rb_isalnum.

Deprecated
  Use rb_isalnum instead.

Definition at line 91 of file ctype.h.

## ◆ ISALPHA

#define ISALPHA rb_isalpha

Old name of rb_isalpha.

Deprecated
  Use rb_isalpha instead.

Definition at line 92 of file ctype.h.

## ◆ ISASCII

#define ISASCII rb_isascii

Old name of rb_isascii.

Deprecated
  Use rb_isascii instead.

Definition at line 85 of file ctype.h.

Referenced by rb_enc_ascget().

## ◆ ISBLANK

#define ISBLANK rb_isblank

Old name of rb_isblank.

Deprecated
  Use rb_isblank instead.

Definition at line 95 of file ctype.h.

## ◆ ISCNTRL

#define ISCNTRL rb_iscntrl

Old name of rb_iscntrl.

Deprecated
  Use rb_iscntrl instead.

Definition at line 96 of file ctype.h.

## ◆ ISDIGIT

#define ISDIGIT rb_isdigit

Old name of rb_isdigit.

Deprecated
  Use rb_isdigit instead.

Definition at line 93 of file ctype.h.

## ◆ ISGRAPH

#define ISGRAPH rb_isgraph

Old name of rb_isgraph.

Deprecated
  Use rb_isgraph instead.

Definition at line 87 of file ctype.h.

## ◆ ISLOWER

#define ISLOWER rb_islower

Old name of rb_islower.

Deprecated
  Use rb_islower instead.

Definition at line 90 of file ctype.h.

## ◆ ISPRINT

#define ISPRINT rb_isprint

Old name of rb_isprint.

Deprecated
  Use rb_isprint instead.

Definition at line 86 of file ctype.h.

Referenced by rb_str_dump(), and rb_str_inspect().

## ◆ ISPUNCT

#define ISPUNCT rb_ispunct

Old name of rb_ispunct.

Deprecated
  Use rb_ispunct instead.

Definition at line 97 of file ctype.h.

## ◆ ISSPACE

#define ISSPACE rb_isspace

Old name of rb_isspace.

Deprecated
  Use rb_isspace instead.

Definition at line 88 of file ctype.h.

Referenced by rb_memory_view_parse_item_format(), ruby_each_words(), and ruby_strtoul().

## ◆ ISUPPER

#define ISUPPER rb_isupper

Old name of rb_isupper.

Deprecated
  Use rb_isupper instead.

Definition at line 89 of file ctype.h.

## ◆ ISXDIGIT

#define ISXDIGIT rb_isxdigit

Old name of rb_isxdigit.

Deprecated
  Use rb_isxdigit instead.

Definition at line 94 of file ctype.h.

## ◆ LL2NUM

#define LL2NUM RB_LL2NUM

Old name of RB_LL2NUM.

Deprecated
  Use RB_LL2NUM instead.

Definition at line 30 of file long_long.h.

## ◆ LONG2FIX

#define LONG2FIX RB_INT2FIX

Old name of RB_INT2FIX.

Deprecated
  Use RB_INT2FIX instead.

Definition at line 49 of file long.h.

Referenced by rb_complex_pow(), rb_hash(), rb_int2inum(), rb_integer_unpack(), rb_ll2num_inline(), rb_num2fix(), rb_reg_match(), rb_reg_match2(), rb_str_format(), rb_struct_size(), rb_uint2inum(), and rb_ull2num_inline().

## ◆ LONG2NUM

#define LONG2NUM RB_LONG2NUM

Old name of RB_LONG2NUM.

Deprecated
  Use RB_LONG2NUM instead.

Definition at line 50 of file long.h.

Referenced by rb_arithmetic_sequence_beg_len_step(), rb_big_pow(), and rb_str_length().

## ◆ MBCLEN_CHARFOUND_LEN

#define MBCLEN_CHARFOUND_LEN | ( |  | ret | ) |

Value:
ONIGENC_MBCLEN_CHARFOUND_LEN(ret)

Old name of ONIGENC_MBCLEN_CHARFOUND_LEN.

Deprecated
  Use ONIGENC_MBCLEN_CHARFOUND_LEN instead.

Definition at line 516 of file encoding.h.

Referenced by rb_enc_codepoint_len(), rb_enc_mbclen(), rb_str_coderange_scan_restartable(), rb_str_dump(), and rb_str_inspect().

## ◆ MBCLEN_CHARFOUND_P

#define MBCLEN_CHARFOUND_P | ( |  | ret | ) |

Value:
ONIGENC_MBCLEN_CHARFOUND_P(ret)

Old name of ONIGENC_MBCLEN_CHARFOUND_P.

Deprecated
  Use ONIGENC_MBCLEN_CHARFOUND_P instead.

Definition at line 515 of file encoding.h.

Referenced by rb_enc_ascget(), rb_enc_codepoint_len(), rb_enc_mbclen(), rb_str_coderange_scan_restartable(), rb_str_dump(), and rb_str_inspect().

## ◆ MBCLEN_INVALID_P

#define MBCLEN_INVALID_P | ( |  | ret | ) |

Value:
ONIGENC_MBCLEN_INVALID_P(ret)

Old name of ONIGENC_MBCLEN_INVALID_P.

Deprecated
  Use ONIGENC_MBCLEN_INVALID_P instead.

Definition at line 517 of file encoding.h.

Referenced by rb_str_coderange_scan_restartable().

## ◆ MBCLEN_NEEDMORE_LEN

#define MBCLEN_NEEDMORE_LEN | ( |  | ret | ) |

Value:
ONIGENC_MBCLEN_NEEDMORE_LEN(ret)

Old name of ONIGENC_MBCLEN_NEEDMORE_LEN.

Deprecated
  Use ONIGENC_MBCLEN_NEEDMORE_LEN instead.

Definition at line 519 of file encoding.h.

## ◆ MBCLEN_NEEDMORE_P

#define MBCLEN_NEEDMORE_P | ( |  | ret | ) |

Value:
ONIGENC_MBCLEN_NEEDMORE_P(ret)

Old name of ONIGENC_MBCLEN_NEEDMORE_P.

Deprecated
  Use ONIGENC_MBCLEN_NEEDMORE_P instead.

Definition at line 518 of file encoding.h.

## ◆ NEGFIXABLE

#define NEGFIXABLE RB_NEGFIXABLE

Old name of RB_NEGFIXABLE.

Deprecated
  Use RB_NEGFIXABLE instead.

Definition at line 28 of file fixnum.h.

Referenced by rb_integer_unpack().

## ◆ NEWOBJ

#define NEWOBJ RB_NEWOBJ

Old name of RB_NEWOBJ.

Deprecated
  Use RB_NEWOBJ instead.

Definition at line 60 of file newobj.h.

## ◆ NEWOBJ_OF

#define NEWOBJ_OF RB_NEWOBJ_OF

Old name of RB_NEWOBJ_OF.

Deprecated
  Use RB_NEWOBJ_OF instead.

Definition at line 61 of file newobj.h.

Referenced by class_alloc(), and rb_float_new_in_heap().

## ◆ NIL_P

#define NIL_P RB_NIL_P

Old name of RB_NIL_P.

Deprecated
  Use RB_NIL_P instead.

Definition at line 55 of file special_consts.h.

Referenced by rb_alias(), rb_arithmetic_sequence_beg_len_step(), rb_Array(), rb_ary_assoc(), rb_ary_cmp(), rb_ary_join(), rb_ary_to_ary(), rb_category_compile_warn(), rb_category_warn(), rb_check_convert_type(), rb_check_id(), rb_check_symbol(), rb_class2name(), rb_class_path(), rb_cmpint(), rb_compile_warn(), rb_cstr_to_inum(), rb_econv_append(), rb_econv_check_error(), rb_econv_open_opts(), rb_econv_prepare_options(), rb_enc_get_index(), rb_enc_set_default_external(), rb_ensure(), rb_error_frozen_object(), rb_ext_resolve_symbol(), rb_external_str_new_with_enc(), rb_f_abort(), rb_f_global_variables(), rb_f_trace_var(), rb_f_untrace_var(), rb_funcall_with_block(), rb_funcall_with_block_kw(), rb_gc_register_mark_object(), rb_get_kwargs(), rb_gets(), rb_Hash(), rb_io_extract_encoding_option(), rb_io_extract_modeenc(), rb_io_open_descriptor(), rb_io_print(), rb_memory_view_register(), rb_mutex_sleep(), rb_num2long(), rb_profile_frame_classpath(), rb_profile_frame_full_label(), rb_profile_frame_singleton_method_p(), rb_range_beg_len(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_nth_defined(), rb_reg_nth_match(), rb_reg_prepare_re(), rb_reg_regsub(), rb_set_errinfo(), rb_str_conv_enc_opts(), rb_str_format(), rb_String(), rb_struct_s_members(), rb_time_num_new(), rb_to_encoding_index(), rb_undef(), rb_waitpid(), rb_warn(), rb_yield_splat(), rb_yield_splat_kw(), and ruby_run_node().

## ◆ NUM2CHR

#define NUM2CHR RB_NUM2CHR

Old name of RB_NUM2CHR.

Deprecated
  Use RB_NUM2CHR instead.

Definition at line 33 of file char.h.

## ◆ NUM2DBL

#define NUM2DBL rb_num2dbl

Old name of rb_num2dbl.

Deprecated
  Use rb_num2dbl instead.

Definition at line 27 of file double.h.

Referenced by rb_big_pow(), and rb_random_real().

## ◆ NUM2INT

#define NUM2INT RB_NUM2INT

Old name of RB_NUM2INT.

Deprecated
  Use RB_NUM2INT instead.

Definition at line 44 of file int.h.

Referenced by rb_io_extract_modeenc(), rb_io_ungetbyte(), and rb_str_format().

## ◆ NUM2LL

#define NUM2LL RB_NUM2LL

Old name of RB_NUM2LL.

Deprecated
  Use RB_NUM2LL instead.

Definition at line 34 of file long_long.h.

## ◆ NUM2LONG

#define NUM2LONG RB_NUM2LONG

Old name of RB_NUM2LONG.

Deprecated
  Use RB_NUM2LONG instead.

Definition at line 51 of file long.h.

Referenced by rb_arithmetic_sequence_beg_len_step(), rb_get_values_at(), and rb_str_times().

## ◆ NUM2SHORT

#define NUM2SHORT RB_NUM2SHORT

Old name of RB_NUM2SHORT.

Deprecated
  Use RB_NUM2SHORT instead.

Definition at line 32 of file short.h.

## ◆ NUM2SIZET

#define NUM2SIZET RB_NUM2SIZE

Old name of RB_NUM2SIZE.

Deprecated
  Use RB_NUM2SIZE instead.

Definition at line 61 of file size_t.h.

## ◆ NUM2SSIZET

#define NUM2SSIZET RB_NUM2SSIZE

Old name of RB_NUM2SSIZE.

Deprecated
  Use RB_NUM2SSIZE instead.

Definition at line 63 of file size_t.h.

## ◆ NUM2UINT

#define NUM2UINT RB_NUM2UINT

Old name of RB_NUM2UINT.

Deprecated
  Use RB_NUM2UINT instead.

Definition at line 45 of file int.h.

Referenced by rb_io_ungetc().

## ◆ NUM2ULL

#define NUM2ULL RB_NUM2ULL

Old name of RB_NUM2ULL.

Deprecated
  Use RB_NUM2ULL instead.

Definition at line 35 of file long_long.h.

## ◆ NUM2ULONG

#define NUM2ULONG RB_NUM2ULONG

Old name of RB_NUM2ULONG.

Deprecated
  Use RB_NUM2ULONG instead.

Definition at line 52 of file long.h.

Referenced by rb_random_ulong_limited().

## ◆ NUM2USHORT

#define NUM2USHORT RB_NUM2USHORT

Old name of RB_NUM2USHORT.

Deprecated
  Use RB_NUM2USHORT instead.

Definition at line 33 of file short.h.

## ◆ OBJ_FREEZE

#define OBJ_FREEZE RB_OBJ_FREEZE

Old name of RB_OBJ_FREEZE.

Deprecated
  Use RB_OBJ_FREEZE instead.

Definition at line 135 of file fl_type.h.

Referenced by rb_apply(), rb_float_new_in_heap(), rb_intern3(), rb_obj_freeze(), rb_set_class_path(), rb_str_drop_bytes(), rb_str_intern(), and ruby_set_argv().

## ◆ OBJ_FREEZE_RAW

#define OBJ_FREEZE_RAW RB_OBJ_FREEZE_RAW

Old name of RB_OBJ_FREEZE_RAW.

Deprecated
  Use RB_OBJ_FREEZE_RAW instead.

Definition at line 136 of file fl_type.h.

Referenced by rb_freeze_singleton_class(), rb_struct_initialize(), and ruby_init_loadpath().

## ◆ OBJ_FROZEN

#define OBJ_FROZEN RB_OBJ_FROZEN

Old name of RB_OBJ_FROZEN.

Deprecated
  Use RB_OBJ_FROZEN instead.

Definition at line 137 of file fl_type.h.

Referenced by rb_class_modify_check(), rb_econv_open_opts(), rb_obj_freeze(), rb_obj_frozen_p(), rb_str_freeze(), rb_str_new_frozen(), and rb_thread_local_aset().

## ◆ OBJ_FROZEN_RAW

#define OBJ_FROZEN_RAW RB_OBJ_FROZEN_RAW

Old name of RB_OBJ_FROZEN_RAW.

Deprecated
  Use RB_OBJ_FROZEN_RAW instead.

Definition at line 138 of file fl_type.h.

## ◆ OBJ_INFECT

#define OBJ_INFECT RB_OBJ_INFECT

Old name of RB_OBJ_INFECT.

Deprecated
  Use RB_OBJ_INFECT instead.

Definition at line 139 of file fl_type.h.

## ◆ OBJ_INFECT_RAW

#define OBJ_INFECT_RAW RB_OBJ_INFECT_RAW

Old name of RB_OBJ_INFECT_RAW.

Deprecated
  Use RB_OBJ_INFECT_RAW instead.

Definition at line 140 of file fl_type.h.

## ◆ OBJ_INIT_COPY

#define OBJ_INIT_COPY | ( |  | obj,
|  |  | orig )

Value:
RB_OBJ_INIT_COPY(obj, orig)
RB_OBJ_INIT_COPY
#define RB_OBJ_INIT_COPY(obj, orig)
This macro is (used but) mysterious.
Definition object.h:38

Old name of RB_OBJ_INIT_COPY.

Deprecated
  Use RB_OBJ_INIT_COPY instead.

Definition at line 41 of file object.h.

Referenced by rb_mod_init_copy().

## ◆ OBJ_PROMOTED

#define OBJ_PROMOTED RB_OBJ_PROMOTED

Old name of RB_OBJ_PROMOTED.

Deprecated
  Use RB_OBJ_PROMOTED instead.

Definition at line 636 of file gc.h.

## ◆ OBJ_PROMOTED_RAW

#define OBJ_PROMOTED_RAW RB_OBJ_PROMOTED_RAW

Old name of RB_OBJ_PROMOTED_RAW.

Deprecated
  Use RB_OBJ_PROMOTED_RAW instead.

Definition at line 635 of file gc.h.

## ◆ OBJ_TAINT

#define OBJ_TAINT RB_OBJ_TAINT

Old name of RB_OBJ_TAINT.

Deprecated
  Use RB_OBJ_TAINT instead.

Definition at line 141 of file fl_type.h.

## ◆ OBJ_TAINT_RAW

#define OBJ_TAINT_RAW RB_OBJ_TAINT_RAW

Old name of RB_OBJ_TAINT_RAW.

Deprecated
  Use RB_OBJ_TAINT_RAW instead.

Definition at line 145 of file fl_type.h.

## ◆ OBJ_TAINTABLE

#define OBJ_TAINTABLE RB_OBJ_TAINTABLE

Old name of RB_OBJ_TAINT_RAW.

Deprecated
  Use RB_OBJ_TAINT_RAW instead.

Definition at line 142 of file fl_type.h.

## ◆ OBJ_TAINTED

#define OBJ_TAINTED RB_OBJ_TAINTED

Old name of RB_OBJ_TAINTED.

Deprecated
  Use RB_OBJ_TAINTED instead.

Definition at line 143 of file fl_type.h.

## ◆ OBJ_TAINTED_RAW

#define OBJ_TAINTED_RAW RB_OBJ_TAINTED_RAW

Old name of RB_OBJ_TAINTED_RAW.

Deprecated
  Use RB_OBJ_TAINTED_RAW instead.

Definition at line 144 of file fl_type.h.

## ◆ OBJ_UNTRUST

#define OBJ_UNTRUST RB_OBJ_UNTRUST

Old name of RB_OBJ_TAINT.

Deprecated
  Use RB_OBJ_TAINT instead.

Definition at line 146 of file fl_type.h.

## ◆ OBJ_UNTRUSTED

#define OBJ_UNTRUSTED RB_OBJ_UNTRUSTED

Old name of RB_OBJ_TAINTED.

Deprecated
  Use RB_OBJ_TAINTED instead.

Definition at line 147 of file fl_type.h.

## ◆ OBJ_WB_UNPROTECT

#define OBJ_WB_UNPROTECT RB_OBJ_WB_UNPROTECT

Old name of RB_OBJ_WB_UNPROTECT.

Deprecated
  Use RB_OBJ_WB_UNPROTECT instead.

Definition at line 637 of file gc.h.

Referenced by rb_hash_tbl().

## ◆ OBJSETUP

#define OBJSETUP rb_obj_setup

Old name of rb_obj_setup.

Deprecated
  Use rb_obj_setup instead.

Definition at line 62 of file newobj.h.

## ◆ POSFIXABLE

#define POSFIXABLE RB_POSFIXABLE

Old name of RB_POSFIXABLE.

Deprecated
  Use RB_POSFIXABLE instead.

Definition at line 29 of file fixnum.h.

Referenced by rb_integer_unpack(), rb_uint2inum(), and rb_ull2num_inline().

## ◆ Qfalse

#define Qfalse RUBY_Qfalse

Old name of RUBY_Qfalse.

Deprecated
  Use RUBY_Qfalse instead.

Definition at line 59 of file special_consts.h.

Referenced by rb_arithmetic_sequence_beg_len_step(), rb_ary_includes(), rb_ary_shared_with_p(), rb_autoload_load(), rb_big_eq(), rb_big_eql(), rb_class_inherited_p(), rb_class_of(), rb_cvar_defined(), rb_file_directory_p(), rb_integer_unpack(), rb_io_closed_p(), rb_io_eof(), rb_io_maybe_wait(), rb_io_wait(), rb_ivar_defined(), rb_mod_include_p(), rb_mutex_trylock(), rb_nogvl(), rb_obj_is_kind_of(), rb_proc_exec(), rb_profile_frame_absolute_path(), rb_range_beg_len(), rb_range_values(), rb_str_equal(), rb_tracepoint_disable(), rb_tracepoint_enable(), rb_vrescue2(), and ruby_executable_node().

## ◆ Qnil

#define Qnil RUBY_Qnil

Old name of RUBY_Qnil.

Deprecated
  Use RUBY_Qnil instead.

Definition at line 60 of file special_consts.h.

Referenced by class_alloc(), rb_alias(), rb_arithmetic_sequence_beg_len_step(), rb_ary_assoc(), rb_ary_cmp(), rb_ary_delete(), rb_ary_delete_at(), rb_ary_pop(), rb_ary_rassoc(), rb_ary_rotate(), rb_ary_shift(), rb_attr_get(), rb_autoload_load(), rb_check_convert_type(), rb_check_symbol(), rb_check_symbol_cstr(), rb_check_to_float(), rb_check_to_int(), rb_check_to_integer(), rb_class_inherited_p(), rb_class_superclass(), rb_const_remove(), rb_dbl_cmp(), rb_debug_inspector_frame_iseq_get(), rb_define_hooked_variable(), rb_econv_has_convpath_p(), rb_econv_open_opts(), rb_econv_prepare_options(), rb_econv_str_convert(), rb_econv_substr_convert(), rb_enc_from_encoding(), rb_ensure(), rb_enum_values_pack(), rb_enumeratorize_with_size_kw(), rb_eval_cmd_kw(), rb_exc_fatal(), rb_external_str_new_with_enc(), rb_f_abort(), rb_f_exec(), rb_f_exit(), rb_f_trace_var(), rb_f_untrace_var(), rb_fiber_new_storage(), rb_fiber_scheduler_close(), rb_fiber_scheduler_make_timeout(), rb_fiber_scheduler_set(), rb_file_s_absolute_path(), rb_file_s_expand_path(), rb_gc_start(), rb_get_kwargs(), rb_gets(), rb_gv_get(), rb_hash_delete(), rb_hash_lookup(), rb_id_attrset(), rb_io_close(), rb_io_extract_encoding_option(), rb_io_extract_modeenc(), rb_io_getbyte(), rb_io_open_descriptor(), rb_io_path(), rb_io_print(), rb_io_printf(), rb_io_puts(), rb_io_set_write_io(), rb_io_ungetbyte(), rb_io_ungetc(), rb_io_wait(), rb_io_wait_readable(), rb_io_wait_writable(), rb_iter_break(), rb_iv_get(), rb_ivar_get(), rb_loaderror(), rb_mem_clear(), rb_memory_view_extract_item_members(), rb_memory_view_parse_item_format(), rb_memory_view_register(), rb_memory_view_release(), rb_method_call(), rb_method_call_kw(), rb_mod_ancestors(), rb_mutex_sleep(), rb_need_block(), rb_num_coerce_cmp(), rb_num_coerce_relop(), rb_obj_clone(), rb_obj_remove_instance_variable(), rb_process_status_wait(), rb_profile_frame_absolute_path(), rb_profile_frame_base_label(), rb_profile_frame_classpath(), rb_profile_frame_first_lineno(), rb_profile_frame_label(), rb_profile_frame_method_name(), rb_profile_frame_path(), rb_protect(), rb_ractor_local_storage_value(), rb_readwrite_syserr_fail(), rb_reg_match(), rb_reg_match2(), rb_reg_match_last(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_nth_defined(), rb_reg_nth_match(), rb_singleton_class_get(), rb_str_conv_enc(), rb_str_ellipsize(), rb_str_format(), rb_struct_getmember(), rb_struct_initialize(), rb_syserr_new(), rb_thread_stop(), rb_thread_wakeup_alive(), rb_tracearg_binding(), rb_tracearg_callee_id(), rb_tracearg_method_id(), rb_undef(), rb_uv_to_utf8(), rb_vrescue2(), and ruby_options().

## ◆ Qtrue

#define Qtrue RUBY_Qtrue

Old name of RUBY_Qtrue.

Deprecated
  Use RUBY_Qtrue instead.

Definition at line 61 of file special_consts.h.

Referenced by rb_arithmetic_sequence_beg_len_step(), rb_ary_includes(), rb_ary_shared_with_p(), rb_class_inherited_p(), rb_cvar_defined(), rb_equal(), rb_fiber_new(), rb_file_directory_p(), rb_ivar_defined(), rb_mod_include_p(), rb_mutex_sleep(), rb_mutex_trylock(), rb_obj_is_kind_of(), rb_range_values(), rb_str_equal(), and ruby_executable_node().

## ◆ Qundef

#define Qundef RUBY_Qundef

Old name of RUBY_Qundef.

Deprecated
  Use RUBY_Qundef instead.

Definition at line 62 of file special_consts.h.

Referenced by make_metaclass(), rb_check_funcall(), rb_check_funcall_kw(), rb_complex_pow(), rb_exc_raise(), rb_get_kwargs(), rb_io_extract_encoding_option(), rb_io_modestr_fmode(), rb_mod_remove_cvar(), rb_obj_remove_instance_variable(), rb_path_to_class(), rb_ractor_local_storage_ptr_newkey(), rb_remove_event_hook(), rb_singleton_class_clone(), rb_str_format(), rb_thread_remove_event_hook(), rb_tracepoint_disable(), rb_tracepoint_enable(), and rb_tracepoint_new().

## ◆ rb_ary_new2

#define rb_ary_new2 rb_ary_new_capa

Old name of rb_ary_new_capa.

Deprecated
  Use rb_ary_new_capa instead.

Definition at line 651 of file array.h.

Referenced by rb_ary_dup(), rb_ary_new_from_args(), rb_ary_plus(), rb_const_list(), rb_get_values_at(), rb_obj_singleton_methods(), and rb_sym_all_symbols().

## ◆ rb_ary_new3

#define rb_ary_new3 rb_ary_new_from_args

Old name of rb_ary_new_from_args.

Deprecated
  Use rb_ary_new_from_args instead.

Definition at line 652 of file array.h.

Referenced by rb_Array(), rb_ary_to_ary(), rb_assoc_new(), and rb_f_untrace_var().

## ◆ rb_ary_new4

#define rb_ary_new4 rb_ary_new_from_values

Old name of rb_ary_new_from_values.

Deprecated
  Use rb_ary_new_from_values instead.

Definition at line 653 of file array.h.

Referenced by rb_enum_values_pack().

## ◆ rb_exc_new2

#define rb_exc_new2 rb_exc_new_cstr

Old name of rb_exc_new_cstr.

Deprecated
  Use rb_exc_new_cstr instead.

Definition at line 37 of file error.h.

## ◆ rb_exc_new3

#define rb_exc_new3 rb_exc_new_str

Old name of rb_exc_new_str.

Deprecated
  Use rb_exc_new_str instead.

Definition at line 38 of file error.h.

Referenced by rb_econv_open_exc(), rb_enc_raise(), rb_fatal(), and rb_frozen_error_raise().

## ◆ RB_INTEGER_TYPE_P

#define RB_INTEGER_TYPE_P rb_integer_type_p

Old name of rb_integer_type_p.

Deprecated
  Use rb_integer_type_p instead.

Definition at line 87 of file value_type.h.

Referenced by rb_big_and(), rb_big_or(), rb_big_pow(), rb_big_xor(), rb_check_to_int(), rb_check_to_integer(), rb_rational_raw(), rb_str_concat(), and rb_str_format().

## ◆ rb_str_buf_cat2

#define rb_str_buf_cat2 rb_str_cat_cstr

Old name of rb_usascii_str_new_cstr.

Deprecated
  Use rb_usascii_str_new_cstr instead.

Definition at line 1682 of file string.h.

## ◆ rb_str_buf_new2

#define rb_str_buf_new2 rb_str_buf_new_cstr

Old name of rb_str_buf_new_cstr.

Deprecated
  Use rb_str_buf_new_cstr instead.

Definition at line 1679 of file string.h.

## ◆ rb_str_cat2

#define rb_str_cat2 rb_str_cat_cstr

Old name of rb_str_cat_cstr.

Deprecated
  Use rb_str_cat_cstr instead.

Definition at line 1683 of file string.h.

Referenced by rb_econv_open_exc(), and rb_find_file_ext().

## ◆ rb_str_new2

#define rb_str_new2 rb_str_new_cstr

Old name of rb_str_new_cstr.

Deprecated
  Use rb_str_new_cstr instead.

Definition at line 1675 of file string.h.

Referenced by rb_exit(), rb_invalid_str(), rb_readwrite_syserr_fail(), rb_set_class_path(), rb_struct_define(), and rb_syserr_new().

## ◆ rb_str_new3

#define rb_str_new3 rb_str_new_shared

Old name of rb_str_new_shared.

Deprecated
  Use rb_str_new_shared instead.

Definition at line 1676 of file string.h.

Referenced by rb_reg_quote().

## ◆ rb_str_new4

#define rb_str_new4 rb_str_new_frozen

Old name of rb_str_new_frozen.

Deprecated
  Use rb_str_new_frozen instead.

Definition at line 1677 of file string.h.

Referenced by ruby_process_options().

## ◆ rb_str_new5

#define rb_str_new5 rb_str_new_with_class

Old name of rb_str_new_with_class.

Deprecated
  Use rb_str_new_with_class instead.

Definition at line 1678 of file string.h.

## ◆ rb_usascii_str_new2

#define rb_usascii_str_new2 rb_usascii_str_new_cstr

Old name of rb_usascii_str_new_cstr.

Deprecated
  Use rb_usascii_str_new_cstr instead.

Definition at line 1680 of file string.h.

Referenced by rb_fix2str().

## ◆ REALLOC_N

#define REALLOC_N RB_REALLOC_N

Old name of RB_REALLOC_N.

Deprecated
  Use RB_REALLOC_N instead.

Definition at line 397 of file memory.h.

Referenced by ruby_setenv().

## ◆ RFLOAT_VALUE

#define RFLOAT_VALUE rb_float_value

Old name of rb_float_value.

Deprecated
  Use rb_float_value instead.

Definition at line 28 of file double.h.

Referenced by rb_big_minus(), rb_big_mul(), rb_big_plus(), rb_big_pow(), rb_num2dbl(), rb_num2long(), and rb_str_format().

## ◆ RUBY_EVENT_SWITCH

#define RUBY_EVENT_SWITCH 0x040000

Old name of RUBY_INTERNAL_EVENT_SWITCH.

Deprecated
  Use RUBY_INTERNAL_EVENT_SWITCH instead.

Definition at line 91 of file event.h.

## ◆ scan_hex

#define scan_hex | ( |  | s,
|  |  | l,
|  |  | e )

Value:
((int)ruby_scan_hex((s),(l),(e)))

Old name of ruby_scan_hex.

Deprecated
  Use ruby_scan_hex instead.

Definition at line 108 of file util.h.

## ◆ scan_oct

#define scan_oct | ( |  | s,
|  |  | l,
|  |  | e )

Value:
((int)ruby_scan_oct((s),(l),(e)))

Old name of ruby_scan_oct.

Deprecated
  Use ruby_scan_oct instead.

Definition at line 85 of file util.h.

## ◆ SIZET2NUM

#define SIZET2NUM RB_SIZE2NUM

Old name of RB_SIZE2NUM.

Deprecated
  Use RB_SIZE2NUM instead.

Definition at line 62 of file size_t.h.

Referenced by rb_fiber_scheduler_io_pread(), rb_fiber_scheduler_io_pwrite(), rb_fiber_scheduler_io_read(), and rb_fiber_scheduler_io_write().

## ◆ SPECIAL_CONST_P

#define SPECIAL_CONST_P RB_SPECIAL_CONST_P

Old name of RB_SPECIAL_CONST_P.

Deprecated
  Use RB_SPECIAL_CONST_P instead.

Definition at line 56 of file special_consts.h.

Referenced by rb_class_modify_check(), rb_cmperr(), rb_enc_associate_index(), rb_enc_get_index(), rb_gc_location(), rb_gc_register_address(), rb_gc_writebarrier(), rb_ivar_count(), rb_ivar_defined(), rb_num2dbl(), rb_obj_freeze(), rb_obj_hide(), rb_obj_reveal(), and rb_singleton_class_get().

## ◆ SSIZET2NUM

#define SSIZET2NUM RB_SSIZE2NUM

Old name of RB_SSIZE2NUM.

Deprecated
  Use RB_SSIZE2NUM instead.

Definition at line 64 of file size_t.h.

## ◆ ST2FIX

#define ST2FIX RB_ST2FIX

Old name of RB_ST2FIX.

Deprecated
  Use RB_ST2FIX instead.

Definition at line 33 of file st_data_t.h.

## ◆ STATIC_SYM_P

#define STATIC_SYM_P RB_STATIC_SYM_P

Old name of RB_STATIC_SYM_P.

Deprecated
  Use RB_STATIC_SYM_P instead.

Definition at line 57 of file special_consts.h.

Referenced by rb_check_id(), rb_check_symbol(), and rb_sym2id().

## ◆ STRCASECMP

#define STRCASECMP st_locale_insensitive_strcasecmp

Old name of st_locale_insensitive_strcasecmp.

Deprecated
  Use st_locale_insensitive_strcasecmp instead.

Definition at line 102 of file ctype.h.

## ◆ STRNCASECMP

#define STRNCASECMP st_locale_insensitive_strncasecmp

Old name of st_locale_insensitive_strncasecmp.

Deprecated
  Use st_locale_insensitive_strncasecmp instead.

Definition at line 103 of file ctype.h.

Referenced by ruby_init_loadpath().

## ◆ STRTOUL

#define STRTOUL ruby_strtoul

Old name of ruby_strtoul.

Deprecated
  Use ruby_strtoul instead.

Definition at line 104 of file ctype.h.

## ◆ SYM2ID

#define SYM2ID RB_SYM2ID

Old name of RB_SYM2ID.

Deprecated
  Use RB_SYM2ID instead.

Definition at line 45 of file symbol.h.

Referenced by rb_intern_str(), and rb_to_id().

## ◆ SYMBOL_FLAG

#define SYMBOL_FLAG RUBY_SYMBOL_FLAG

Old name of RUBY_SYMBOL_FLAG.

Deprecated
  Use RUBY_SYMBOL_FLAG instead.

Definition at line 69 of file special_consts.h.

## ◆ SYMBOL_P

#define SYMBOL_P RB_SYMBOL_P

Old name of RB_SYMBOL_P.

Deprecated
  Use RB_SYMBOL_P instead.

Definition at line 88 of file value_type.h.

Referenced by rb_enc_get_index(), rb_gc_stat(), rb_to_id(), and rb_to_symbol().

## ◆ T_ARRAY

#define T_ARRAY RUBY_T_ARRAY

Old name of RUBY_T_ARRAY.

Deprecated
  Use RUBY_T_ARRAY instead.

Definition at line 56 of file value_type.h.

Referenced by rb_ary_rassoc(), rb_check_array_type(), rb_Hash(), and rb_struct_s_members().

## ◆ T_BIGNUM

#define T_BIGNUM RUBY_T_BIGNUM

Old name of RUBY_T_BIGNUM.

Deprecated
  Use RUBY_T_BIGNUM instead.

Definition at line 57 of file value_type.h.

Referenced by rb_io_ungetbyte(), rb_num2dbl(), and rb_str_format().

## ◆ T_CLASS

#define T_CLASS RUBY_T_CLASS

Old name of RUBY_T_CLASS.

Deprecated
  Use RUBY_T_CLASS instead.

Definition at line 58 of file value_type.h.

Referenced by rb_check_inheritable(), rb_class_boot(), rb_class_inherited_p(), rb_class_modify_check(), rb_class_new(), rb_class_new_instance_kw(), rb_class_superclass(), rb_cvar_set(), rb_define_class(), rb_get_alloc_func(), rb_ivar_count(), rb_ivar_defined(), rb_memory_view_register(), rb_mod_init_copy(), rb_obj_alloc(), rb_obj_is_kind_of(), rb_obj_singleton_methods(), rb_profile_frame_classpath(), and rb_singleton_class().

## ◆ T_COMPLEX

#define T_COMPLEX RUBY_T_COMPLEX

Old name of RUBY_T_COMPLEX.

Deprecated
  Use RUBY_T_COMPLEX instead.

Definition at line 59 of file value_type.h.

Referenced by rb_complex_minus(), rb_complex_mul(), rb_complex_plus(), and rb_complex_pow().

## ◆ T_DATA

#define T_DATA RUBY_T_DATA

Old name of RUBY_T_DATA.

Deprecated
  Use RUBY_T_DATA instead.

Definition at line 60 of file value_type.h.

Referenced by rb_check_convert_type(), rb_check_type(), rb_check_typeddata(), rb_data_object_wrap(), rb_enc_get_index(), and rb_typeddata_is_kind_of().

## ◆ T_FALSE

#define T_FALSE RUBY_T_FALSE

Old name of RUBY_T_FALSE.

Deprecated
  Use RUBY_T_FALSE instead.

Definition at line 61 of file value_type.h.

## ◆ T_FILE

#define T_FILE RUBY_T_FILE

Old name of RUBY_T_FILE.

Deprecated
  Use RUBY_T_FILE instead.

Definition at line 62 of file value_type.h.

Referenced by rb_enc_get_index(), rb_file_size(), rb_io_check_io(), rb_io_descriptor(), rb_io_get_io(), and rb_io_getbyte().

## ◆ T_FIXNUM

#define T_FIXNUM RUBY_T_FIXNUM

Old name of RUBY_T_FIXNUM.

Deprecated
  Use RUBY_T_FIXNUM instead.

Definition at line 63 of file value_type.h.

Referenced by rb_io_ungetbyte(), and rb_str_format().

## ◆ T_FLOAT

#define T_FLOAT RUBY_T_FLOAT

Old name of RUBY_T_FLOAT.

Deprecated
  Use RUBY_T_FLOAT instead.

Definition at line 64 of file value_type.h.

Referenced by rb_check_to_float(), rb_cmperr(), rb_float_new_in_heap(), rb_num2dbl(), rb_str_format(), and rb_to_float().

## ◆ T_HASH

#define T_HASH RUBY_T_HASH

Old name of RUBY_T_HASH.

Deprecated
  Use RUBY_T_HASH instead.

Definition at line 65 of file value_type.h.

Referenced by rb_check_hash_type(), and rb_econv_open_opts().

## ◆ T_ICLASS

#define T_ICLASS RUBY_T_ICLASS

Old name of RUBY_T_ICLASS.

Deprecated
  Use RUBY_T_ICLASS instead.

Definition at line 66 of file value_type.h.

Referenced by make_metaclass(), rb_class_inherited_p(), rb_class_modify_check(), rb_class_real(), rb_cvar_set(), rb_include_module(), rb_mod_ancestors(), rb_mod_include_p(), rb_mod_included_modules(), rb_mod_init_copy(), rb_obj_is_kind_of(), rb_obj_singleton_methods(), and rb_profile_frame_classpath().

## ◆ T_IMEMO

#define T_IMEMO RUBY_T_IMEMO

Old name of RUBY_T_IMEMO.

Deprecated
  Use RUBY_T_IMEMO instead.

Definition at line 67 of file value_type.h.

## ◆ T_MASK

#define T_MASK RUBY_T_MASK

Old name of RUBY_T_MASK.

Deprecated
  Use RUBY_T_MASK instead.

Definition at line 68 of file value_type.h.

Referenced by class_alloc().

## ◆ T_MATCH

#define T_MATCH RUBY_T_MATCH

Old name of RUBY_T_MATCH.

Deprecated
  Use RUBY_T_MATCH instead.

Definition at line 69 of file value_type.h.

## ◆ T_MODULE

#define T_MODULE RUBY_T_MODULE

Old name of RUBY_T_MODULE.

Deprecated
  Use RUBY_T_MODULE instead.

Definition at line 70 of file value_type.h.

Referenced by rb_alias(), rb_class_modify_check(), rb_define_module(), rb_define_module_id_under(), rb_include_module(), rb_ivar_count(), rb_ivar_defined(), rb_mod_ancestors(), rb_mod_include_p(), rb_mod_included_modules(), rb_mod_init_copy(), rb_obj_is_kind_of(), rb_prepend_module(), and rb_profile_frame_classpath().

## ◆ T_MOVED

#define T_MOVED RUBY_T_MOVED

Old name of RUBY_T_MOVED.

Deprecated
  Use RUBY_T_MOVED instead.

Definition at line 71 of file value_type.h.

Referenced by rb_gc_location().

## ◆ T_NIL

#define T_NIL RUBY_T_NIL

Old name of RUBY_T_NIL.

Deprecated
  Use RUBY_T_NIL instead.

Definition at line 72 of file value_type.h.

Referenced by rb_io_ungetbyte().

## ◆ T_NODE

#define T_NODE RUBY_T_NODE

Old name of RUBY_T_NODE.

Deprecated
  Use RUBY_T_NODE instead.

Definition at line 73 of file value_type.h.

## ◆ T_NONE

#define T_NONE RUBY_T_NONE

Old name of RUBY_T_NONE.

Deprecated
  Use RUBY_T_NONE instead.

Definition at line 74 of file value_type.h.

Referenced by rb_gc_location(), and rb_newobj().

## ◆ T_OBJECT

#define T_OBJECT RUBY_T_OBJECT

Old name of RUBY_T_OBJECT.

Deprecated
  Use RUBY_T_OBJECT instead.

Definition at line 75 of file value_type.h.

Referenced by rb_ensure(), rb_ivar_count(), rb_ivar_defined(), and rb_newobj_of().

## ◆ T_RATIONAL

#define T_RATIONAL RUBY_T_RATIONAL

Old name of RUBY_T_RATIONAL.

Deprecated
  Use RUBY_T_RATIONAL instead.

Definition at line 76 of file value_type.h.

Referenced by rb_complex_pow(), rb_num2dbl(), and rb_str_format().

## ◆ T_REGEXP

#define T_REGEXP RUBY_T_REGEXP

Old name of RUBY_T_REGEXP.

Deprecated
  Use RUBY_T_REGEXP instead.

Definition at line 77 of file value_type.h.

Referenced by rb_enc_get_index().

## ◆ T_STRING

#define T_STRING RUBY_T_STRING

Old name of RUBY_T_STRING.

Deprecated
  Use RUBY_T_STRING instead.

Definition at line 78 of file value_type.h.

Referenced by rb_check_id(), rb_check_string_type(), rb_check_symbol(), rb_enc_associate_index(), rb_enc_get_index(), rb_eval_cmd_kw(), rb_io_puts(), rb_num2dbl(), rb_obj_as_string(), rb_reg_match2(), rb_str_equal(), rb_str_format(), rb_str_to_str(), rb_String(), and rb_string_value().

## ◆ T_STRUCT

#define T_STRUCT RUBY_T_STRUCT

Old name of RUBY_T_STRUCT.

Deprecated
  Use RUBY_T_STRUCT instead.

Definition at line 79 of file value_type.h.

## ◆ T_SYMBOL

#define T_SYMBOL RUBY_T_SYMBOL

Old name of RUBY_T_SYMBOL.

Deprecated
  Use RUBY_T_SYMBOL instead.

Definition at line 80 of file value_type.h.

Referenced by rb_enc_get_index().

## ◆ T_TRUE

#define T_TRUE RUBY_T_TRUE

Old name of RUBY_T_TRUE.

Deprecated
  Use RUBY_T_TRUE instead.

Definition at line 81 of file value_type.h.

## ◆ T_UNDEF

#define T_UNDEF RUBY_T_UNDEF

Old name of RUBY_T_UNDEF.

Deprecated
  Use RUBY_T_UNDEF instead.

Definition at line 82 of file value_type.h.

## ◆ T_ZOMBIE

#define T_ZOMBIE RUBY_T_ZOMBIE

Old name of RUBY_T_ZOMBIE.

Deprecated
  Use RUBY_T_ZOMBIE instead.

Definition at line 83 of file value_type.h.

## ◆ TOLOWER

#define TOLOWER rb_tolower

Old name of rb_tolower.

Deprecated
  Use rb_tolower instead.

Definition at line 101 of file ctype.h.

## ◆ TOUPPER

#define TOUPPER rb_toupper

Old name of rb_toupper.

Deprecated
  Use rb_toupper instead.

Definition at line 100 of file ctype.h.

## ◆ TYPE

#define TYPE | ( |  | _ | ) |

Value:
RBIMPL_CAST((int)rb_type(_))
_
#define _(args)
This was a transition path from K&R to ANSI.
Definition stdarg.h:35
rb_type
static enum ruby_value_type rb_type(VALUE obj)
Identical to RB_BUILTIN_TYPE(), except it can also accept special constants.
Definition value_type.h:224

Old name of rb_type.

Deprecated
  Use rb_type instead.

Definition at line 107 of file value_type.h.

Referenced by rb_check_convert_type(), rb_check_type(), rb_convert_type(), rb_io_ungetbyte(), rb_obj_init_copy(), rb_str_format(), and rb_unexpected_type().

## ◆ UINT2NUM

#define UINT2NUM RB_UINT2NUM

Old name of RB_UINT2NUM.

Deprecated
  Use RB_UINT2NUM instead.

Definition at line 46 of file int.h.

## ◆ ULL2NUM

#define ULL2NUM RB_ULL2NUM

Old name of RB_ULL2NUM.

Deprecated
  Use RB_ULL2NUM instead.

Definition at line 31 of file long_long.h.

## ◆ ULONG2NUM

#define ULONG2NUM RB_ULONG2NUM

Old name of RB_ULONG2NUM.

Deprecated
  Use RB_ULONG2NUM instead.

Definition at line 60 of file long.h.

## ◆ UNREACHABLE

#define UNREACHABLE RBIMPL_UNREACHABLE()

Old name of RBIMPL_UNREACHABLE.

Deprecated
  Use RBIMPL_UNREACHABLE instead.

Definition at line 28 of file assume.h.

Referenced by rb_class_modify_check().

## ◆ UNREACHABLE_RETURN

#define UNREACHABLE_RETURN RBIMPL_UNREACHABLE_RETURN

Old name of RBIMPL_UNREACHABLE_RETURN.

Deprecated
  Use RBIMPL_UNREACHABLE_RETURN instead.

Definition at line 29 of file assume.h.

Referenced by rb_check_typeddata(), rb_f_abort(), rb_f_exec(), rb_f_exit(), rb_io_descriptor(), rb_io_modestr_fmode(), rb_mod_remove_cvar(), rb_num_coerce_relop(), rb_obj_is_kind_of(), rb_obj_remove_instance_variable(), rb_path_to_class(), rb_struct_getmember(), and rb_uv_to_utf8().

## ◆ USHORT2NUM

#define USHORT2NUM RB_INT2FIX

Old name of RB_INT2FIX.

Deprecated
  Use RB_INT2FIX instead.

Definition at line 34 of file short.h.

## ◆ xcalloc

#define xcalloc ruby_xcalloc

Old name of ruby_xcalloc.

Deprecated
  Use ruby_xcalloc instead.

Definition at line 55 of file xmalloc.h.

Referenced by rb_data_object_zalloc(), and rb_data_typed_object_zalloc().

## ◆ xfree

#define xfree ruby_xfree

Old name of ruby_xfree.

Deprecated
  Use ruby_xfree instead.

Definition at line 58 of file xmalloc.h.

Referenced by rb_alias_variable(), rb_econv_binmode(), rb_econv_close(), rb_econv_insert_output(), rb_econv_set_replacement(), rb_free_generic_ivar(), rb_gc_unregister_address(), rb_memory_view_release(), rb_str_drop_bytes(), ruby_getcwd(), ruby_setenv(), and ruby_vm_destruct().

## ◆ xmalloc

#define xmalloc ruby_xmalloc

Old name of ruby_xmalloc.

Deprecated
  Use ruby_xmalloc instead.

Definition at line 53 of file xmalloc.h.

Referenced by rb_copy_generic_ivar(), rb_econv_insert_output(), rb_econv_set_replacement(), ruby_getcwd(), and ruby_strdup().

## ◆ xmalloc2

#define xmalloc2 ruby_xmalloc2

Old name of ruby_xmalloc2.

Deprecated
  Use ruby_xmalloc2 instead.

Definition at line 54 of file xmalloc.h.

## ◆ xrealloc

#define xrealloc ruby_xrealloc

Old name of ruby_xrealloc.

Deprecated
  Use ruby_xrealloc instead.

Definition at line 56 of file xmalloc.h.

Referenced by rb_econv_insert_output(), rb_w32_fd_copy(), rb_w32_fd_dup(), and ruby_getcwd().

## ◆ xrealloc2

#define xrealloc2 ruby_xrealloc2

Old name of ruby_xrealloc2.

Deprecated
  Use ruby_xrealloc2 instead.

Definition at line 57 of file xmalloc.h.

## ◆ ZALLOC

#define ZALLOC RB_ZALLOC

Old name of RB_ZALLOC.

Deprecated
  Use RB_ZALLOC instead.

Definition at line 396 of file memory.h.

## ◆ ZALLOC_N

#define ZALLOC_N RB_ZALLOC_N

Old name of RB_ZALLOC_N.

Deprecated
  Use RB_ZALLOC_N instead.

Definition at line 395 of file memory.h.

Referenced by rb_str_times().

## Typedef Documentation

## ◆ Regexp

typedef struct re_pattern_buffer Regexp

Old name of re_pattern_buffer.

Deprecated
  Use re_pattern_buffer instead.

Definition at line 52 of file rmatch.h.

## Function Documentation

## ◆ rb_complex_polar()

VALUE rb_complex_polar | ( | VALUE | abs,
|  | VALUE | arg )

Old name of rb_complex_new_polar.

Deprecated
  Use rb_complex_new_polar instead.

Definition at line 1766 of file complex.c.