Ruby 3.3.2p78 (2024-05-30 revision e5a195edf62fe1bf7146a191da13fa1c4fecbd71)
|
These macros are deprecated. More...
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
So the intent was to reroute old problematic systems that no longer exist. At the same time the problems described above no longer hurt us, because we decided to completely avoid using system-provided isupper etc. to reinvent the wheel. These macros are entirely legacy; please ignore them. But let me also put stress that GNU people are wise; they use those macros only inside of their own implementations and never let them be public. On the other hand ruby has thoughtlessly publicised them to 3rd party libraries since its beginning, which is a very bad idea. These macros are too easy to get conflicted with definitions elsewhere. New programs should stick to the
| |
#define | ISASCII rb_isascii |
Old name of rb_isascii. | |
#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_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 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. | |
These macros are deprecated.
Prefer their RB_
-prefixed versions.
#define ALLOC RB_ALLOC |
Old name of RB_ALLOC.
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().
#define ALLOC_N RB_ALLOC_N |
Old name of RB_ALLOC_N.
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().
#define ALLOCV RB_ALLOCV |
#define ALLOCV_END RB_ALLOCV_END |
Old name of RB_ALLOCV_END.
Use RB_ALLOCV_END instead.
Definition at line 400 of file memory.h.
Referenced by ruby_setenv().
#define ALLOCV_N RB_ALLOCV_N |
Old name of RB_ALLOCV_N.
Use RB_ALLOCV_N instead.
Definition at line 399 of file memory.h.
Referenced by ruby_setenv().
#define ASSUME RBIMPL_ASSUME |
Old name of RBIMPL_ASSUME.
Use RBIMPL_ASSUME instead.
#define BUILTIN_TYPE RB_BUILTIN_TYPE |
Old name of RB_BUILTIN_TYPE.
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().
#define Check_TypedStruct | ( | v, | |
t ) rb_check_typeddata(RBIMPL_CAST((VALUE)(v)), (t)) |
Old name of rb_check_typeddata.
Use rb_check_typeddata instead.
Definition at line 105 of file rtypeddata.h.
#define CHR2FIX RB_CHR2FIX |
#define CLASS_OF rb_class_of |
Old name of rb_class_of.
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().
#define CLONESETUP rb_clone_setup |
Old name of rb_clone_setup.
Use rb_clone_setup instead.
#define CONST_ID RUBY_CONST_ID |
Old name of RUBY_CONST_ID.
Use RUBY_CONST_ID instead.
Definition at line 47 of file symbol.h.
Referenced by rb_class_inherited().
#define CONST_ID_CACHE RUBY_CONST_ID_CACHE |
Old name of RUBY_CONST_ID_CACHE.
Use RUBY_CONST_ID_CACHE instead.
#define DBL2NUM rb_float_new |
Old name of rb_float_new.
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().
#define DUPSETUP rb_dup_setup |
Old name of rb_dup_setup.
Use rb_dup_setup instead.
#define DYNAMIC_SYM_P RB_DYNAMIC_SYM_P |
Old name of RB_DYNAMIC_SYM_P.
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().
#define ECONV_AFTER_OUTPUT RUBY_ECONV_AFTER_OUTPUT |
Old name of RUBY_ECONV_AFTER_OUTPUT.
Use RUBY_ECONV_AFTER_OUTPUT instead.
Definition at line 555 of file transcode.h.
#define ECONV_CR_NEWLINE_DECORATOR RUBY_ECONV_CR_NEWLINE_DECORATOR |
Old name of RUBY_ECONV_CR_NEWLINE_DECORATOR.
Use RUBY_ECONV_CR_NEWLINE_DECORATOR instead.
Definition at line 534 of file transcode.h.
Referenced by rb_econv_binmode().
#define ECONV_CRLF_NEWLINE_DECORATOR RUBY_ECONV_CRLF_NEWLINE_DECORATOR |
Old name of RUBY_ECONV_CRLF_NEWLINE_DECORATOR.
Use RUBY_ECONV_CRLF_NEWLINE_DECORATOR instead.
Definition at line 533 of file transcode.h.
Referenced by rb_econv_binmode().
#define ECONV_DECORATOR_MASK RUBY_ECONV_DECORATOR_MASK |
Old name of RUBY_ECONV_DECORATOR_MASK.
Use RUBY_ECONV_DECORATOR_MASK instead.
Definition at line 528 of file transcode.h.
#define ECONV_DEFAULT_NEWLINE_DECORATOR RUBY_ECONV_DEFAULT_NEWLINE_DECORATOR |
Old name of RUBY_ECONV_DEFAULT_NEWLINE_DECORATOR.
Use RUBY_ECONV_DEFAULT_NEWLINE_DECORATOR instead.
Definition at line 540 of file transcode.h.
Referenced by rb_io_extract_modeenc().
#define ECONV_ERROR_HANDLER_MASK RUBY_ECONV_ERROR_HANDLER_MASK |
Old name of RUBY_ECONV_ERROR_HANDLER_MASK.
Use RUBY_ECONV_ERROR_HANDLER_MASK instead.
Definition at line 522 of file transcode.h.
Referenced by rb_econv_open().
#define ECONV_INVALID_MASK RUBY_ECONV_INVALID_MASK |
Old name of RUBY_ECONV_INVALID_MASK.
Use RUBY_ECONV_INVALID_MASK instead.
Definition at line 523 of file transcode.h.
Referenced by rb_econv_convert().
#define ECONV_INVALID_REPLACE RUBY_ECONV_INVALID_REPLACE |
Old name of RUBY_ECONV_INVALID_REPLACE.
Use RUBY_ECONV_INVALID_REPLACE instead.
Definition at line 524 of file transcode.h.
Referenced by rb_econv_convert().
#define ECONV_LF_NEWLINE_DECORATOR RUBY_ECONV_LF_NEWLINE_DECORATOR |
Old name of RUBY_ECONV_LF_NEWLINE_DECORATOR.
Use RUBY_ECONV_LF_NEWLINE_DECORATOR instead.
Definition at line 535 of file transcode.h.
Referenced by rb_econv_binmode().
#define ECONV_NEWLINE_DECORATOR_MASK RUBY_ECONV_NEWLINE_DECORATOR_MASK |
Old name of RUBY_ECONV_NEWLINE_DECORATOR_MASK.
Use RUBY_ECONV_NEWLINE_DECORATOR_MASK instead.
Definition at line 529 of file transcode.h.
Referenced by rb_econv_binmode().
#define ECONV_NEWLINE_DECORATOR_READ_MASK RUBY_ECONV_NEWLINE_DECORATOR_READ_MASK |
Old name of RUBY_ECONV_NEWLINE_DECORATOR_READ_MASK.
Use RUBY_ECONV_NEWLINE_DECORATOR_READ_MASK instead.
Definition at line 530 of file transcode.h.
#define ECONV_NEWLINE_DECORATOR_WRITE_MASK RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK |
Old name of RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK.
Use RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK instead.
Definition at line 531 of file transcode.h.
#define ECONV_PARTIAL_INPUT RUBY_ECONV_PARTIAL_INPUT |
Old name of RUBY_ECONV_PARTIAL_INPUT.
Use RUBY_ECONV_PARTIAL_INPUT instead.
Definition at line 554 of file transcode.h.
#define ECONV_STATEFUL_DECORATOR_MASK RUBY_ECONV_STATEFUL_DECORATOR_MASK |
Old name of RUBY_ECONV_STATEFUL_DECORATOR_MASK.
Use RUBY_ECONV_STATEFUL_DECORATOR_MASK instead.
Definition at line 538 of file transcode.h.
#define ECONV_UNDEF_HEX_CHARREF RUBY_ECONV_UNDEF_HEX_CHARREF |
Old name of RUBY_ECONV_UNDEF_HEX_CHARREF.
Use RUBY_ECONV_UNDEF_HEX_CHARREF instead.
Definition at line 527 of file transcode.h.
Referenced by rb_econv_convert().
#define ECONV_UNDEF_MASK RUBY_ECONV_UNDEF_MASK |
Old name of RUBY_ECONV_UNDEF_MASK.
Use RUBY_ECONV_UNDEF_MASK instead.
Definition at line 525 of file transcode.h.
Referenced by rb_econv_convert().
#define ECONV_UNDEF_REPLACE RUBY_ECONV_UNDEF_REPLACE |
Old name of RUBY_ECONV_UNDEF_REPLACE.
Use RUBY_ECONV_UNDEF_REPLACE instead.
Definition at line 526 of file transcode.h.
Referenced by rb_econv_convert().
#define ECONV_UNIVERSAL_NEWLINE_DECORATOR RUBY_ECONV_UNIVERSAL_NEWLINE_DECORATOR |
Old name of RUBY_ECONV_UNIVERSAL_NEWLINE_DECORATOR.
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().
#define ECONV_XML_ATTR_CONTENT_DECORATOR RUBY_ECONV_XML_ATTR_CONTENT_DECORATOR |
Old name of RUBY_ECONV_XML_ATTR_CONTENT_DECORATOR.
Use RUBY_ECONV_XML_ATTR_CONTENT_DECORATOR instead.
Definition at line 537 of file transcode.h.
#define ECONV_XML_ATTR_QUOTE_DECORATOR RUBY_ECONV_XML_ATTR_QUOTE_DECORATOR |
Old name of RUBY_ECONV_XML_ATTR_QUOTE_DECORATOR.
Use RUBY_ECONV_XML_ATTR_QUOTE_DECORATOR instead.
Definition at line 539 of file transcode.h.
#define ECONV_XML_TEXT_DECORATOR RUBY_ECONV_XML_TEXT_DECORATOR |
Old name of RUBY_ECONV_XML_TEXT_DECORATOR.
Use RUBY_ECONV_XML_TEXT_DECORATOR instead.
Definition at line 536 of file transcode.h.
#define ELTS_SHARED RUBY_ELTS_SHARED |
Old name of RUBY_ELTS_SHARED.
Use RUBY_ELTS_SHARED instead.
#define ENC_CODERANGE | ( | obj | ) | RB_ENC_CODERANGE(obj) |
Old name of RB_ENC_CODERANGE.
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().
#define ENC_CODERANGE_7BIT RUBY_ENC_CODERANGE_7BIT |
Old name of RUBY_ENC_CODERANGE_7BIT.
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().
#define ENC_CODERANGE_AND | ( | a, | |
b ) RB_ENC_CODERANGE_AND(a, b) |
Old name of RB_ENC_CODERANGE_AND.
Use RB_ENC_CODERANGE_AND instead.
Definition at line 188 of file coderange.h.
Referenced by rb_str_plus(), and rb_str_update().
#define ENC_CODERANGE_ASCIIONLY | ( | obj | ) | RB_ENC_CODERANGE_ASCIIONLY(obj) |
Old name of RB_ENC_CODERANGE_ASCIIONLY.
Use RB_ENC_CODERANGE_ASCIIONLY instead.
Definition at line 185 of file coderange.h.
Referenced by rb_enc_associate_index().
#define ENC_CODERANGE_BROKEN RUBY_ENC_CODERANGE_BROKEN |
Old name of RUBY_ENC_CODERANGE_BROKEN.
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().
#define ENC_CODERANGE_CLEAN_P | ( | cr | ) | RB_ENC_CODERANGE_CLEAN_P(cr) |
Old name of RB_ENC_CODERANGE_CLEAN_P.
Use RB_ENC_CODERANGE_CLEAN_P instead.
Definition at line 183 of file coderange.h.
Referenced by rb_str_set_len().
#define ENC_CODERANGE_CLEAR | ( | obj | ) | RB_ENC_CODERANGE_CLEAR(obj) |
Old name of RB_ENC_CODERANGE_CLEAR.
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().
#define ENC_CODERANGE_MASK RUBY_ENC_CODERANGE_MASK |
Old name of RUBY_ENC_CODERANGE_MASK.
Use RUBY_ENC_CODERANGE_MASK instead.
Definition at line 178 of file coderange.h.
#define ENC_CODERANGE_SET | ( | obj, | |
cr ) RB_ENC_CODERANGE_SET(obj,cr) |
Old name of RB_ENC_CODERANGE_SET.
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().
#define ENC_CODERANGE_UNKNOWN RUBY_ENC_CODERANGE_UNKNOWN |
Old name of RUBY_ENC_CODERANGE_UNKNOWN.
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().
#define ENC_CODERANGE_VALID RUBY_ENC_CODERANGE_VALID |
Old name of RUBY_ENC_CODERANGE_VALID.
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().
#define ENCODING_CODERANGE_SET | ( | obj, | |
encindex, | |||
cr ) RB_ENCODING_CODERANGE_SET(obj, encindex, cr) |
Old name of RB_ENCODING_CODERANGE_SET.
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().
#define ENCODING_GET | ( | obj | ) | RB_ENCODING_GET(obj) |
Old name of RB_ENCODING_GET.
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().
#define ENCODING_GET_INLINED | ( | obj | ) | RB_ENCODING_GET_INLINED(obj) |
Old name of RB_ENCODING_GET_INLINED.
Use RB_ENCODING_GET_INLINED instead.
Definition at line 107 of file encoding.h.
Referenced by rb_str_buf_append().
#define ENCODING_INLINE_MAX RUBY_ENCODING_INLINE_MAX |
Old name of RUBY_ENCODING_INLINE_MAX.
Use RUBY_ENCODING_INLINE_MAX instead.
Definition at line 66 of file encoding.h.
#define ENCODING_IS_ASCII8BIT | ( | obj | ) | RB_ENCODING_IS_ASCII8BIT(obj) |
Old name of RB_ENCODING_IS_ASCII8BIT.
Use RB_ENCODING_IS_ASCII8BIT instead.
Definition at line 109 of file encoding.h.
#define ENCODING_MASK RUBY_ENCODING_MASK |
Old name of RUBY_ENCODING_MASK.
Use RUBY_ENCODING_MASK instead.
Definition at line 68 of file encoding.h.
#define ENCODING_MAXNAMELEN RUBY_ENCODING_MAXNAMELEN |
Old name of RUBY_ENCODING_MAXNAMELEN.
Use RUBY_ENCODING_MAXNAMELEN instead.
Definition at line 110 of file encoding.h.
#define ENCODING_SET | ( | obj, | |
i ) RB_ENCODING_SET(obj,i) |
Old name of RB_ENCODING_SET.
Use RB_ENCODING_SET instead.
Definition at line 106 of file encoding.h.
#define ENCODING_SET_INLINED | ( | obj, | |
i ) RB_ENCODING_SET_INLINED(obj,i) |
Old name of RB_ENCODING_SET_INLINED.
Use RB_ENCODING_SET_INLINED instead.
Definition at line 105 of file encoding.h.
#define ENCODING_SHIFT RUBY_ENCODING_SHIFT |
Old name of RUBY_ENCODING_SHIFT.
Use RUBY_ENCODING_SHIFT instead.
Definition at line 67 of file encoding.h.
#define FIX2INT RB_FIX2INT |
Old name of RB_FIX2INT.
Use RB_FIX2INT instead.
Definition at line 41 of file int.h.
Referenced by rb_f_kill(), rb_fix2int(), and ruby_executable_node().
#define FIX2LONG RB_FIX2LONG |
Old name of RB_FIX2LONG.
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().
#define FIX2SHORT RB_FIX2SHORT |
Old name of RB_FIX2SHORT.
Use RB_FIX2SHORT instead.
#define FIX2UINT RB_FIX2UINT |
Old name of RB_FIX2UINT.
Use RB_FIX2UINT instead.
Definition at line 42 of file int.h.
Referenced by rb_io_ungetc().
#define FIX2ULONG RB_FIX2ULONG |
Old name of RB_FIX2ULONG.
Use RB_FIX2ULONG instead.
Definition at line 47 of file long.h.
Referenced by rb_fix2ushort().
#define FIXABLE RB_FIXABLE |
Old name of RB_FIXABLE.
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().
#define FIXNUM_FLAG RUBY_FIXNUM_FLAG |
Old name of RUBY_FIXNUM_FLAG.
Use RUBY_FIXNUM_FLAG instead.
Definition at line 64 of file special_consts.h.
#define FIXNUM_MAX RUBY_FIXNUM_MAX |
Old name of RUBY_FIXNUM_MAX.
Use RUBY_FIXNUM_MAX instead.
Definition at line 26 of file fixnum.h.
Referenced by rb_big_pow().
#define FIXNUM_MIN RUBY_FIXNUM_MIN |
Old name of RUBY_FIXNUM_MIN.
Use RUBY_FIXNUM_MIN instead.
#define FIXNUM_P RB_FIXNUM_P |
Old name of RB_FIXNUM_P.
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().
#define FL_ABLE RB_FL_ABLE |
Old name of RB_FL_ABLE.
Use RB_FL_ABLE instead.
Definition at line 122 of file fl_type.h.
Referenced by rb_check_copyable().
#define FL_ALL RB_FL_ALL |
#define FL_ALL_RAW RB_FL_ALL_RAW |
Old name of RB_FL_ALL_RAW.
Use RB_FL_ALL_RAW instead.
#define FL_ANY RB_FL_ANY |
#define FL_ANY_RAW RB_FL_ANY_RAW |
Old name of RB_FL_ANY_RAW.
Use RB_FL_ANY_RAW instead.
#define FL_EXIVAR RBIMPL_CAST((VALUE)RUBY_FL_EXIVAR) |
Old name of RUBY_FL_EXIVAR.
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().
#define FL_FINALIZE RBIMPL_CAST((VALUE)RUBY_FL_FINALIZE) |
Old name of RUBY_FL_FINALIZE.
Use RUBY_FL_FINALIZE instead.
Definition at line 61 of file fl_type.h.
Referenced by rb_gc_copy_finalizer(), and rb_undefine_finalizer().
#define FL_FREEZE RBIMPL_CAST((VALUE)RUBY_FL_FREEZE) |
Old name of RUBY_FL_FREEZE.
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().
#define FL_PROMOTED RBIMPL_CAST((VALUE)RUBY_FL_PROMOTED) |
Old name of RUBY_FL_PROMOTED.
Use RUBY_FL_PROMOTED instead.
#define FL_REVERSE RB_FL_REVERSE |
Old name of RB_FL_REVERSE.
Use RB_FL_REVERSE instead.
#define FL_REVERSE_RAW RB_FL_REVERSE_RAW |
Old name of RB_FL_REVERSE_RAW.
Use RB_FL_REVERSE_RAW instead.
#define FL_SEEN_OBJ_ID RBIMPL_CAST((VALUE)RUBY_FL_SEEN_OBJ_ID) |
Old name of RUBY_FL_SEEN_OBJ_ID.
Use RUBY_FL_SEEN_OBJ_ID instead.
#define FL_SET RB_FL_SET |
Old name of RB_FL_SET.
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().
#define FL_SET_RAW RB_FL_SET_RAW |
Old name of RB_FL_SET_RAW.
Use RB_FL_SET_RAW instead.
#define FL_SHAREABLE RBIMPL_CAST((VALUE)RUBY_FL_SHAREABLE) |
Old name of RUBY_FL_SHAREABLE.
Use RUBY_FL_SHAREABLE instead.
#define FL_SINGLETON RBIMPL_CAST((VALUE)RUBY_FL_SINGLETON) |
Old name of RUBY_FL_SINGLETON.
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().
#define FL_TAINT RBIMPL_CAST((VALUE)RUBY_FL_TAINT) |
Old name of RUBY_FL_TAINT.
Use RUBY_FL_TAINT instead.
#define FL_TEST RB_FL_TEST |
Old name of RB_FL_TEST.
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().
#define FL_TEST_RAW RB_FL_TEST_RAW |
Old name of RB_FL_TEST_RAW.
Use RB_FL_TEST_RAW instead.
#define FL_UNSET RB_FL_UNSET |
Old name of RB_FL_UNSET.
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().
#define FL_UNSET_RAW RB_FL_UNSET_RAW |
Old name of RB_FL_UNSET_RAW.
Use RB_FL_UNSET_RAW instead.
#define FL_UNTRUSTED RBIMPL_CAST((VALUE)RUBY_FL_UNTRUSTED) |
Old name of RUBY_FL_UNTRUSTED.
Use RUBY_FL_UNTRUSTED instead.
#define FL_USER0 RBIMPL_CAST((VALUE)RUBY_FL_USER0) |
Old name of RUBY_FL_USER0.
Use RUBY_FL_USER0 instead.
#define FL_USER1 RBIMPL_CAST((VALUE)RUBY_FL_USER1) |
Old name of RUBY_FL_USER1.
Use RUBY_FL_USER1 instead.
#define FL_USER10 RBIMPL_CAST((VALUE)RUBY_FL_USER10) |
Old name of RUBY_FL_USER10.
Use RUBY_FL_USER10 instead.
#define FL_USER11 RBIMPL_CAST((VALUE)RUBY_FL_USER11) |
Old name of RUBY_FL_USER11.
Use RUBY_FL_USER11 instead.
#define FL_USER12 RBIMPL_CAST((VALUE)RUBY_FL_USER12) |
Old name of RUBY_FL_USER12.
Use RUBY_FL_USER12 instead.
#define FL_USER13 RBIMPL_CAST((VALUE)RUBY_FL_USER13) |
Old name of RUBY_FL_USER13.
Use RUBY_FL_USER13 instead.
#define FL_USER14 RBIMPL_CAST((VALUE)RUBY_FL_USER14) |
Old name of RUBY_FL_USER14.
Use RUBY_FL_USER14 instead.
#define FL_USER15 RBIMPL_CAST((VALUE)RUBY_FL_USER15) |
Old name of RUBY_FL_USER15.
Use RUBY_FL_USER15 instead.
#define FL_USER16 RBIMPL_CAST((VALUE)RUBY_FL_USER16) |
Old name of RUBY_FL_USER16.
Use RUBY_FL_USER16 instead.
#define FL_USER17 RBIMPL_CAST((VALUE)RUBY_FL_USER17) |
Old name of RUBY_FL_USER17.
Use RUBY_FL_USER17 instead.
#define FL_USER18 RBIMPL_CAST((VALUE)RUBY_FL_USER18) |
Old name of RUBY_FL_USER18.
Use RUBY_FL_USER18 instead.
#define FL_USER19 RBIMPL_CAST((VALUE)(unsigned int)RUBY_FL_USER19) |
Old name of RUBY_FL_USER19.
Use RUBY_FL_USER19 instead.
#define FL_USER2 RBIMPL_CAST((VALUE)RUBY_FL_USER2) |
Old name of RUBY_FL_USER2.
Use RUBY_FL_USER2 instead.
#define FL_USER3 RBIMPL_CAST((VALUE)RUBY_FL_USER3) |
Old name of RUBY_FL_USER3.
Use RUBY_FL_USER3 instead.
#define FL_USER4 RBIMPL_CAST((VALUE)RUBY_FL_USER4) |
Old name of RUBY_FL_USER4.
Use RUBY_FL_USER4 instead.
#define FL_USER5 RBIMPL_CAST((VALUE)RUBY_FL_USER5) |
Old name of RUBY_FL_USER5.
Use RUBY_FL_USER5 instead.
#define FL_USER6 RBIMPL_CAST((VALUE)RUBY_FL_USER6) |
Old name of RUBY_FL_USER6.
Use RUBY_FL_USER6 instead.
#define FL_USER7 RBIMPL_CAST((VALUE)RUBY_FL_USER7) |
Old name of RUBY_FL_USER7.
Use RUBY_FL_USER7 instead.
#define FL_USER8 RBIMPL_CAST((VALUE)RUBY_FL_USER8) |
Old name of RUBY_FL_USER8.
Use RUBY_FL_USER8 instead.
#define FL_USER9 RBIMPL_CAST((VALUE)RUBY_FL_USER9) |
Old name of RUBY_FL_USER9.
Use RUBY_FL_USER9 instead.
#define FL_USHIFT RBIMPL_CAST((VALUE)RUBY_FL_USHIFT) |
Old name of RUBY_FL_USHIFT.
Use RUBY_FL_USHIFT instead.
#define FL_WB_PROTECTED RBIMPL_CAST((VALUE)RUBY_FL_WB_PROTECTED) |
Old name of RUBY_FL_WB_PROTECTED.
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().
#define FLONUM_FLAG RUBY_FLONUM_FLAG |
Old name of RUBY_FLONUM_FLAG.
Use RUBY_FLONUM_FLAG instead.
Definition at line 65 of file special_consts.h.
#define FLONUM_MASK RUBY_FLONUM_MASK |
Old name of RUBY_FLONUM_MASK.
Use RUBY_FLONUM_MASK instead.
Definition at line 66 of file special_consts.h.
#define FLONUM_P RB_FLONUM_P |
Old name of RB_FLONUM_P.
Use RB_FLONUM_P instead.
Definition at line 67 of file special_consts.h.
Referenced by rb_num2dbl().
#define ID2SYM RB_ID2SYM |
Old name of RB_ID2SYM.
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().
#define IMMEDIATE_MASK RUBY_IMMEDIATE_MASK |
Old name of RUBY_IMMEDIATE_MASK.
Use RUBY_IMMEDIATE_MASK instead.
Definition at line 68 of file special_consts.h.
#define IMMEDIATE_P RB_IMMEDIATE_P |
Old name of RB_IMMEDIATE_P.
Use RB_IMMEDIATE_P instead.
Definition at line 54 of file special_consts.h.
#define INT2FIX RB_INT2FIX |
Old name of RB_INT2FIX.
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().
#define INT2NUM RB_INT2NUM |
Old name of RB_INT2NUM.
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().
#define ISALNUM rb_isalnum |
#define ISALPHA rb_isalpha |
#define ISASCII rb_isascii |
Old name of rb_isascii.
Definition at line 85 of file ctype.h.
Referenced by rb_enc_ascget().
#define ISBLANK rb_isblank |
#define ISCNTRL rb_iscntrl |
#define ISDIGIT rb_isdigit |
#define ISGRAPH rb_isgraph |
#define ISLOWER rb_islower |
#define ISPRINT rb_isprint |
Old name of rb_isprint.
Definition at line 86 of file ctype.h.
Referenced by rb_str_dump(), and rb_str_inspect().
#define ISPUNCT rb_ispunct |
#define ISSPACE rb_isspace |
Old name of rb_isspace.
Definition at line 88 of file ctype.h.
Referenced by rb_memory_view_parse_item_format(), ruby_each_words(), and ruby_strtoul().
#define ISUPPER rb_isupper |
#define ISXDIGIT rb_isxdigit |
#define LL2NUM RB_LL2NUM |
#define LONG2FIX RB_INT2FIX |
Old name of RB_INT2FIX.
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().
#define LONG2NUM RB_LONG2NUM |
Old name of RB_LONG2NUM.
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().
#define MBCLEN_CHARFOUND_LEN | ( | ret | ) | ONIGENC_MBCLEN_CHARFOUND_LEN(ret) |
Old name of ONIGENC_MBCLEN_CHARFOUND_LEN.
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().
#define MBCLEN_CHARFOUND_P | ( | ret | ) | ONIGENC_MBCLEN_CHARFOUND_P(ret) |
Old name of ONIGENC_MBCLEN_CHARFOUND_P.
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().
#define MBCLEN_INVALID_P | ( | ret | ) | ONIGENC_MBCLEN_INVALID_P(ret) |
Old name of ONIGENC_MBCLEN_INVALID_P.
Use ONIGENC_MBCLEN_INVALID_P instead.
Definition at line 517 of file encoding.h.
Referenced by rb_str_coderange_scan_restartable().
#define MBCLEN_NEEDMORE_LEN | ( | ret | ) | ONIGENC_MBCLEN_NEEDMORE_LEN(ret) |
Old name of ONIGENC_MBCLEN_NEEDMORE_LEN.
Use ONIGENC_MBCLEN_NEEDMORE_LEN instead.
Definition at line 519 of file encoding.h.
#define MBCLEN_NEEDMORE_P | ( | ret | ) | ONIGENC_MBCLEN_NEEDMORE_P(ret) |
Old name of ONIGENC_MBCLEN_NEEDMORE_P.
Use ONIGENC_MBCLEN_NEEDMORE_P instead.
Definition at line 518 of file encoding.h.
#define NEGFIXABLE RB_NEGFIXABLE |
Old name of RB_NEGFIXABLE.
Use RB_NEGFIXABLE instead.
Definition at line 28 of file fixnum.h.
Referenced by rb_integer_unpack().
#define NEWOBJ RB_NEWOBJ |
#define NEWOBJ_OF RB_NEWOBJ_OF |
Old name of RB_NEWOBJ_OF.
Use RB_NEWOBJ_OF instead.
Definition at line 61 of file newobj.h.
Referenced by class_alloc(), and rb_float_new_in_heap().
#define NIL_P RB_NIL_P |
Old name of RB_NIL_P.
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().
#define NUM2CHR RB_NUM2CHR |
#define NUM2DBL rb_num2dbl |
Old name of rb_num2dbl.
Use rb_num2dbl instead.
Definition at line 27 of file double.h.
Referenced by rb_big_pow(), and rb_random_real().
#define NUM2INT RB_NUM2INT |
Old name of RB_NUM2INT.
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().
#define NUM2LL RB_NUM2LL |
#define NUM2LONG RB_NUM2LONG |
Old name of RB_NUM2LONG.
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().
#define NUM2SHORT RB_NUM2SHORT |
Old name of RB_NUM2SHORT.
Use RB_NUM2SHORT instead.
#define NUM2SIZET RB_NUM2SIZE |
#define NUM2SSIZET RB_NUM2SSIZE |
Old name of RB_NUM2SSIZE.
Use RB_NUM2SSIZE instead.
#define NUM2UINT RB_NUM2UINT |
Old name of RB_NUM2UINT.
Use RB_NUM2UINT instead.
Definition at line 45 of file int.h.
Referenced by rb_io_ungetc().
#define NUM2ULL RB_NUM2ULL |
Old name of RB_NUM2ULL.
Use RB_NUM2ULL instead.
Definition at line 35 of file long_long.h.
#define NUM2ULONG RB_NUM2ULONG |
Old name of RB_NUM2ULONG.
Use RB_NUM2ULONG instead.
Definition at line 52 of file long.h.
Referenced by rb_random_ulong_limited().
#define NUM2USHORT RB_NUM2USHORT |
Old name of RB_NUM2USHORT.
Use RB_NUM2USHORT instead.
#define OBJ_FREEZE RB_OBJ_FREEZE |
Old name of RB_OBJ_FREEZE.
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().
#define OBJ_FREEZE_RAW RB_OBJ_FREEZE_RAW |
Old name of RB_OBJ_FREEZE_RAW.
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().
#define OBJ_FROZEN RB_OBJ_FROZEN |
Old name of RB_OBJ_FROZEN.
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().
#define OBJ_FROZEN_RAW RB_OBJ_FROZEN_RAW |
Old name of RB_OBJ_FROZEN_RAW.
Use RB_OBJ_FROZEN_RAW instead.
#define OBJ_INFECT RB_OBJ_INFECT |
Old name of RB_OBJ_INFECT.
Use RB_OBJ_INFECT instead.
#define OBJ_INFECT_RAW RB_OBJ_INFECT_RAW |
Old name of RB_OBJ_INFECT_RAW.
Use RB_OBJ_INFECT_RAW instead.
#define OBJ_INIT_COPY | ( | obj, | |
orig ) RB_OBJ_INIT_COPY(obj, orig) |
Old name of RB_OBJ_INIT_COPY.
Use RB_OBJ_INIT_COPY instead.
Definition at line 41 of file object.h.
Referenced by rb_mod_init_copy().
#define OBJ_PROMOTED RB_OBJ_PROMOTED |
Old name of RB_OBJ_PROMOTED.
Use RB_OBJ_PROMOTED instead.
#define OBJ_PROMOTED_RAW RB_OBJ_PROMOTED_RAW |
Old name of RB_OBJ_PROMOTED_RAW.
Use RB_OBJ_PROMOTED_RAW instead.
#define OBJ_TAINT RB_OBJ_TAINT |
Old name of RB_OBJ_TAINT.
Use RB_OBJ_TAINT instead.
#define OBJ_TAINT_RAW RB_OBJ_TAINT_RAW |
Old name of RB_OBJ_TAINT_RAW.
Use RB_OBJ_TAINT_RAW instead.
#define OBJ_TAINTABLE RB_OBJ_TAINTABLE |
Old name of RB_OBJ_TAINT_RAW.
Use RB_OBJ_TAINT_RAW instead.
#define OBJ_TAINTED RB_OBJ_TAINTED |
Old name of RB_OBJ_TAINTED.
Use RB_OBJ_TAINTED instead.
#define OBJ_TAINTED_RAW RB_OBJ_TAINTED_RAW |
Old name of RB_OBJ_TAINTED_RAW.
Use RB_OBJ_TAINTED_RAW instead.
#define OBJ_UNTRUST RB_OBJ_UNTRUST |
Old name of RB_OBJ_TAINT.
Use RB_OBJ_TAINT instead.
#define OBJ_UNTRUSTED RB_OBJ_UNTRUSTED |
Old name of RB_OBJ_TAINTED.
Use RB_OBJ_TAINTED instead.
#define OBJ_WB_UNPROTECT RB_OBJ_WB_UNPROTECT |
Old name of RB_OBJ_WB_UNPROTECT.
Use RB_OBJ_WB_UNPROTECT instead.
Definition at line 637 of file gc.h.
Referenced by rb_hash_tbl().
#define OBJSETUP rb_obj_setup |
Old name of rb_obj_setup.
Use rb_obj_setup instead.
#define POSFIXABLE RB_POSFIXABLE |
Old name of RB_POSFIXABLE.
Use RB_POSFIXABLE instead.
Definition at line 29 of file fixnum.h.
Referenced by rb_integer_unpack(), rb_uint2inum(), and rb_ull2num_inline().
#define Qfalse RUBY_Qfalse |
Old name of RUBY_Qfalse.
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().
#define Qnil RUBY_Qnil |
Old name of RUBY_Qnil.
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().
#define Qtrue RUBY_Qtrue |
Old name of RUBY_Qtrue.
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().
#define Qundef RUBY_Qundef |
Old name of RUBY_Qundef.
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().
#define rb_ary_new2 rb_ary_new_capa |
Old name of rb_ary_new_capa.
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().
#define rb_ary_new3 rb_ary_new_from_args |
Old name of rb_ary_new_from_args.
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().
#define rb_ary_new4 rb_ary_new_from_values |
Old name of rb_ary_new_from_values.
Use rb_ary_new_from_values instead.
Definition at line 653 of file array.h.
Referenced by rb_enum_values_pack().
#define rb_exc_new2 rb_exc_new_cstr |
Old name of rb_exc_new_cstr.
Use rb_exc_new_cstr instead.
#define rb_exc_new3 rb_exc_new_str |
Old name of rb_exc_new_str.
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().
#define RB_INTEGER_TYPE_P rb_integer_type_p |
Old name of rb_integer_type_p.
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().
#define rb_str_buf_cat2 rb_str_cat_cstr |
Old name of rb_usascii_str_new_cstr.
Use rb_usascii_str_new_cstr instead.
#define rb_str_buf_new2 rb_str_buf_new_cstr |
Old name of rb_str_buf_new_cstr.
Use rb_str_buf_new_cstr instead.
#define rb_str_cat2 rb_str_cat_cstr |
Old name of rb_str_cat_cstr.
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().
#define rb_str_new2 rb_str_new_cstr |
Old name of rb_str_new_cstr.
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().
#define rb_str_new3 rb_str_new_shared |
Old name of rb_str_new_shared.
Use rb_str_new_shared instead.
Definition at line 1676 of file string.h.
Referenced by rb_reg_quote().
#define rb_str_new4 rb_str_new_frozen |
Old name of rb_str_new_frozen.
Use rb_str_new_frozen instead.
Definition at line 1677 of file string.h.
Referenced by ruby_process_options().
#define rb_str_new5 rb_str_new_with_class |
Old name of rb_str_new_with_class.
Use rb_str_new_with_class instead.
#define rb_usascii_str_new2 rb_usascii_str_new_cstr |
Old name of rb_usascii_str_new_cstr.
Use rb_usascii_str_new_cstr instead.
Definition at line 1680 of file string.h.
Referenced by rb_fix2str().
#define REALLOC_N RB_REALLOC_N |
Old name of RB_REALLOC_N.
Use RB_REALLOC_N instead.
Definition at line 397 of file memory.h.
Referenced by ruby_setenv().
#define RFLOAT_VALUE rb_float_value |
Old name of rb_float_value.
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().
#define RUBY_EVENT_SWITCH 0x040000 |
Old name of RUBY_INTERNAL_EVENT_SWITCH.
Use RUBY_INTERNAL_EVENT_SWITCH instead.
#define scan_hex | ( | s, | |
l, | |||
e ) ((int)ruby_scan_hex((s),(l),(e))) |
Old name of ruby_scan_hex.
Use ruby_scan_hex instead.
#define scan_oct | ( | s, | |
l, | |||
e ) ((int)ruby_scan_oct((s),(l),(e))) |
Old name of ruby_scan_oct.
Use ruby_scan_oct instead.
#define SIZET2NUM RB_SIZE2NUM |
Old name of RB_SIZE2NUM.
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().
#define SPECIAL_CONST_P RB_SPECIAL_CONST_P |
Old name of RB_SPECIAL_CONST_P.
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().
#define SSIZET2NUM RB_SSIZE2NUM |
Old name of RB_SSIZE2NUM.
Use RB_SSIZE2NUM instead.
#define ST2FIX RB_ST2FIX |
#define STATIC_SYM_P RB_STATIC_SYM_P |
Old name of RB_STATIC_SYM_P.
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().
#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.
Definition at line 103 of file ctype.h.
Referenced by ruby_init_loadpath().
#define STRTOUL ruby_strtoul |
Old name of ruby_strtoul.
#define SYM2ID RB_SYM2ID |
Old name of RB_SYM2ID.
Use RB_SYM2ID instead.
Definition at line 45 of file symbol.h.
Referenced by rb_intern_str(), and rb_to_id().
#define SYMBOL_FLAG RUBY_SYMBOL_FLAG |
Old name of RUBY_SYMBOL_FLAG.
Use RUBY_SYMBOL_FLAG instead.
Definition at line 69 of file special_consts.h.
#define SYMBOL_P RB_SYMBOL_P |
Old name of RB_SYMBOL_P.
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().
#define T_ARRAY RUBY_T_ARRAY |
Old name of RUBY_T_ARRAY.
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().
#define T_BIGNUM RUBY_T_BIGNUM |
Old name of RUBY_T_BIGNUM.
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().
#define T_CLASS RUBY_T_CLASS |
Old name of RUBY_T_CLASS.
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().
#define T_COMPLEX RUBY_T_COMPLEX |
Old name of RUBY_T_COMPLEX.
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().
#define T_DATA RUBY_T_DATA |
Old name of RUBY_T_DATA.
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().
#define T_FALSE RUBY_T_FALSE |
Old name of RUBY_T_FALSE.
Use RUBY_T_FALSE instead.
Definition at line 61 of file value_type.h.
#define T_FILE RUBY_T_FILE |
Old name of RUBY_T_FILE.
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().
#define T_FIXNUM RUBY_T_FIXNUM |
Old name of RUBY_T_FIXNUM.
Use RUBY_T_FIXNUM instead.
Definition at line 63 of file value_type.h.
Referenced by rb_io_ungetbyte(), and rb_str_format().
#define T_FLOAT RUBY_T_FLOAT |
Old name of RUBY_T_FLOAT.
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().
#define T_HASH RUBY_T_HASH |
Old name of RUBY_T_HASH.
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().
#define T_ICLASS RUBY_T_ICLASS |
Old name of RUBY_T_ICLASS.
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().
#define T_IMEMO RUBY_T_IMEMO |
Old name of RUBY_T_IMEMO.
Use RUBY_T_IMEMO instead.
Definition at line 67 of file value_type.h.
#define T_MASK RUBY_T_MASK |
Old name of RUBY_T_MASK.
Use RUBY_T_MASK instead.
Definition at line 68 of file value_type.h.
Referenced by class_alloc().
#define T_MATCH RUBY_T_MATCH |
Old name of RUBY_T_MATCH.
Use RUBY_T_MATCH instead.
Definition at line 69 of file value_type.h.
#define T_MODULE RUBY_T_MODULE |
Old name of RUBY_T_MODULE.
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().
#define T_MOVED RUBY_T_MOVED |
Old name of RUBY_T_MOVED.
Use RUBY_T_MOVED instead.
Definition at line 71 of file value_type.h.
Referenced by rb_gc_location().
#define T_NIL RUBY_T_NIL |
Old name of RUBY_T_NIL.
Use RUBY_T_NIL instead.
Definition at line 72 of file value_type.h.
Referenced by rb_io_ungetbyte().
#define T_NODE RUBY_T_NODE |
Old name of RUBY_T_NODE.
Use RUBY_T_NODE instead.
Definition at line 73 of file value_type.h.
#define T_NONE RUBY_T_NONE |
Old name of RUBY_T_NONE.
Use RUBY_T_NONE instead.
Definition at line 74 of file value_type.h.
Referenced by rb_gc_location(), and rb_newobj().
#define T_OBJECT RUBY_T_OBJECT |
Old name of RUBY_T_OBJECT.
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().
#define T_RATIONAL RUBY_T_RATIONAL |
Old name of RUBY_T_RATIONAL.
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().
#define T_REGEXP RUBY_T_REGEXP |
Old name of RUBY_T_REGEXP.
Use RUBY_T_REGEXP instead.
Definition at line 77 of file value_type.h.
Referenced by rb_enc_get_index().
#define T_STRING RUBY_T_STRING |
Old name of RUBY_T_STRING.
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().
#define T_STRUCT RUBY_T_STRUCT |
Old name of RUBY_T_STRUCT.
Use RUBY_T_STRUCT instead.
Definition at line 79 of file value_type.h.
#define T_SYMBOL RUBY_T_SYMBOL |
Old name of RUBY_T_SYMBOL.
Use RUBY_T_SYMBOL instead.
Definition at line 80 of file value_type.h.
Referenced by rb_enc_get_index().
#define T_TRUE RUBY_T_TRUE |
Old name of RUBY_T_TRUE.
Use RUBY_T_TRUE instead.
Definition at line 81 of file value_type.h.
#define T_UNDEF RUBY_T_UNDEF |
Old name of RUBY_T_UNDEF.
Use RUBY_T_UNDEF instead.
Definition at line 82 of file value_type.h.
#define T_ZOMBIE RUBY_T_ZOMBIE |
Old name of RUBY_T_ZOMBIE.
Use RUBY_T_ZOMBIE instead.
Definition at line 83 of file value_type.h.
#define TOLOWER rb_tolower |
#define TOUPPER rb_toupper |
Old name of rb_type.
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().
#define UINT2NUM RB_UINT2NUM |
#define ULL2NUM RB_ULL2NUM |
Old name of RB_ULL2NUM.
Use RB_ULL2NUM instead.
Definition at line 31 of file long_long.h.
#define ULONG2NUM RB_ULONG2NUM |
#define UNREACHABLE RBIMPL_UNREACHABLE() |
Old name of RBIMPL_UNREACHABLE.
Use RBIMPL_UNREACHABLE instead.
Definition at line 28 of file assume.h.
Referenced by rb_class_modify_check().
#define UNREACHABLE_RETURN RBIMPL_UNREACHABLE_RETURN |
Old name of RBIMPL_UNREACHABLE_RETURN.
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().
#define USHORT2NUM RB_INT2FIX |
#define xcalloc ruby_xcalloc |
Old name of ruby_xcalloc.
Use ruby_xcalloc instead.
Definition at line 55 of file xmalloc.h.
Referenced by rb_data_object_zalloc(), and rb_data_typed_object_zalloc().
#define xfree ruby_xfree |
Old name of ruby_xfree.
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().
#define xmalloc ruby_xmalloc |
Old name of ruby_xmalloc.
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().
#define xmalloc2 ruby_xmalloc2 |
Old name of ruby_xmalloc2.
Use ruby_xmalloc2 instead.
#define xrealloc ruby_xrealloc |
Old name of ruby_xrealloc.
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().
#define xrealloc2 ruby_xrealloc2 |
Old name of ruby_xrealloc2.
Use ruby_xrealloc2 instead.
#define ZALLOC RB_ZALLOC |
#define ZALLOC_N RB_ZALLOC_N |
Old name of RB_ZALLOC_N.
Use RB_ZALLOC_N instead.
Definition at line 395 of file memory.h.
Referenced by rb_str_times().
typedef struct re_pattern_buffer Regexp |
Old name of re_pattern_buffer.