Ruby 3.4.7p58 (2025-10-08 revision 7a5688e2a27668e48f8d6ff4af5b2208b98a2f5e)
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 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.

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

◆ ALLOC_N

#define ALLOC_N   RB_ALLOC_N

Old name of RB_ALLOC_N.

Deprecated
Use RB_ALLOC_N instead.

Definition at line 399 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 404 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 406 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 405 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

◆ Check_TypedStruct

#define Check_TypedStruct ( v,
t )
Value:
rb_check_typeddata(RBIMPL_CAST((VALUE)(v)), (t))
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:1397
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

◆ CLONESETUP

#define CLONESETUP   rb_clone_setup

Old name of rb_clone_setup.

Deprecated
Use rb_clone_setup instead.

Definition at line 33 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 34 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

◆ 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

◆ ECONV_NEWLINE_DECORATOR_READ_MASK

#define ECONV_NEWLINE_DECORATOR_READ_MASK   RUBY_ECONV_NEWLINE_DECORATOR_READ_MASK

◆ ECONV_NEWLINE_DECORATOR_WRITE_MASK

#define ECONV_NEWLINE_DECORATOR_WRITE_MASK   RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK

◆ 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

◆ 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

◆ ECONV_XML_ATTR_CONTENT_DECORATOR

#define ECONV_XML_ATTR_CONTENT_DECORATOR   RUBY_ECONV_XML_ATTR_CONTENT_DECORATOR

◆ ECONV_XML_ATTR_QUOTE_DECORATOR

#define ECONV_XML_ATTR_QUOTE_DECORATOR   RUBY_ECONV_XML_ATTR_QUOTE_DECORATOR

◆ 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:
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_asciionly_p(), rb_enc_str_coderange(), rb_str_buf_append(), rb_str_concat(), rb_str_format(), rb_str_plus(), rb_str_scrub(), rb_str_set_len(), rb_str_sublen(), rb_str_subpos(), and rb_str_update().

◆ ENC_CODERANGE_7BIT

◆ ENC_CODERANGE_AND

#define ENC_CODERANGE_AND ( a,
b )
Value:
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:
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

◆ ENC_CODERANGE_CLEAN_P

#define ENC_CODERANGE_CLEAN_P ( cr)
Value:
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:
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:
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

◆ ENC_CODERANGE_VALID

◆ ENCODING_CODERANGE_SET

#define ENCODING_CODERANGE_SET ( obj,
encindex,
cr )
Value:
RB_ENCODING_CODERANGE_SET(obj, encindex, cr)
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:238

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().

◆ ENCODING_GET

#define ENCODING_GET ( obj)
Value:
static int RB_ENCODING_GET(VALUE obj)
Just another name of rb_enc_get_index.
Definition encoding.h:195

Old name of RB_ENCODING_GET.

Deprecated
Use RB_ENCODING_GET instead.

Definition at line 109 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(), and rb_str_inspect().

◆ ENCODING_GET_INLINED

#define ENCODING_GET_INLINED ( obj)
Value:
static int RB_ENCODING_GET_INLINED(VALUE obj)
Queries the encoding of the passed object.
Definition encoding.h:99

Old name of RB_ENCODING_GET_INLINED.

Deprecated
Use RB_ENCODING_GET_INLINED instead.

Definition at line 108 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 67 of file encoding.h.

◆ ENCODING_IS_ASCII8BIT

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

Old name of RB_ENCODING_IS_ASCII8BIT.

Deprecated
Use RB_ENCODING_IS_ASCII8BIT instead.

Definition at line 110 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 69 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 111 of file encoding.h.

◆ ENCODING_SET

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

Old name of RB_ENCODING_SET.

Deprecated
Use RB_ENCODING_SET instead.

Definition at line 107 of file encoding.h.

◆ ENCODING_SET_INLINED

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

Old name of RB_ENCODING_SET_INLINED.

Deprecated
Use RB_ENCODING_SET_INLINED instead.

Definition at line 106 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 68 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

◆ 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

◆ 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.

◆ 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(), rb_freeze_singleton_class(), and rb_str_new_frozen().

◆ 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

◆ 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.

Referenced by rb_sym_to_s().

◆ 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(), and rb_freeze_singleton_class().

◆ 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

◆ 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.

Referenced by rb_check_frozen_inline(), and rb_str_hash().

◆ 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(), and rb_str_unlocktmp().

◆ 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.

Referenced by rb_str_freeze().

◆ 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.

Referenced by rb_obj_freeze_inline().

◆ 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.

Referenced by rb_obj_freeze_inline().

◆ 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(), and rb_float_new_in_heap().

◆ 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

◆ 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

◆ 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().

◆ 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

◆ 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(), rb_str_format(), 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 517 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 516 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 518 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 520 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 519 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().

◆ NIL_P

#define NIL_P   RB_NIL_P

◆ 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.

Referenced by rb_gc_stat().

◆ 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

◆ 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.

◆ OBJ_FROZEN

◆ 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)
#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 620 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 619 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 621 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 32 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

◆ 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_maybe_wait(), 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_nogvl(), 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

◆ Qundef

◆ rb_ary_new2

◆ rb_ary_new3

#define rb_ary_new3   rb_ary_new_from_args

◆ 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 659 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(), rb_frozen_error_raise(), and rb_raise().

◆ RB_INTEGER_TYPE_P

◆ 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.

Referenced by rb_str_buf_cat2().

◆ 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

◆ 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 403 of file memory.h.

Referenced by ruby_setenv().

◆ RFLOAT_VALUE

#define RFLOAT_VALUE   rb_float_value

◆ 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

◆ SPECIAL_CONST_P

◆ 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().

◆ 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_latest_gc_info(), 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_freeze(), 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

◆ 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

◆ 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

◆ 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

◆ T_HASH

#define T_HASH   RUBY_T_HASH

◆ T_ICLASS

◆ 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

◆ 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.

◆ 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.

◆ 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(), and rb_ivar_defined().

◆ 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

◆ 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.

◆ 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
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:225

Old name of rb_type.

Deprecated
Use rb_type instead.

Definition at line 108 of file value_type.h.

Referenced by rb_check_convert_type(), rb_check_type(), rb_convert_type(), rb_io_ungetbyte(), rb_obj_freeze_inline(), 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

◆ USHORT2NUM

#define USHORT2NUM   RB_INT2FIX

Old name of RB_INT2FIX.

Deprecated
Use RB_INT2FIX instead.

Definition at line 34 of file short.h.

◆ xcalloc

◆ xfree

◆ xmalloc

◆ 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

◆ 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 402 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 401 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 1767 of file complex.c.