Ruby 2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)

Macros | Functions
backward.h File Reference

Go to the source code of this file.

## Macros
#define | RClass RClassDeprecated
#define | DECLARE_DEPRECATED_FEATURE(ver, func) NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
#define | DECLARE_DEPRECATED_INTERNAL_FEATURE(func) NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
#define | RUBY_SHOW_COPYRIGHT_TO_DIE 1
#define | ruby_show_copyright()

## Functions
| DEPRECATED_TYPE (("RClass is internal use only"), struct RClass { struct RBasic basic;})
| DECLARE_DEPRECATED_FEATURE (2.2, rb_disable_super)
| DECLARE_DEPRECATED_FEATURE (2.2, rb_enable_super)
| DECLARE_DEPRECATED_FEATURE (2.2, rb_hash_iter_lev)
| DECLARE_DEPRECATED_FEATURE (2.2, rb_hash_ifnone)
| DECLARE_DEPRECATED_FEATURE (2.2, rb_str_associate)
| DECLARE_DEPRECATED_FEATURE (2.2, rb_str_associated)
| DEPRECATED (void rb_autoload(VALUE, ID, const char *))
| DECLARE_DEPRECATED_FEATURE (2.2, rb_clear_cache)
| DECLARE_DEPRECATED_FEATURE (2.2, rb_frame_pop)
| NORETURN (ERRORFUNC(("internal function"), void rb_frozen_class_p(VALUE)))
| DECLARE_DEPRECATED_INTERNAL_FEATURE (rb_exec_end_proc)
| DECLARE_DEPRECATED_INTERNAL_FEATURE (rb_compile_error)
| DECLARE_DEPRECATED_INTERNAL_FEATURE (rb_compile_error_with_enc)
| DECLARE_DEPRECATED_INTERNAL_FEATURE (rb_compile_error_append)
| DECLARE_DEPRECATED_INTERNAL_FEATURE (rb_gc_call_finalizer_at_exit)
| DECLARE_DEPRECATED_INTERNAL_FEATURE (rb_trap_exit)
| DECLARE_DEPRECATED_INTERNAL_FEATURE (rb_struct_ptr)
| DECLARE_DEPRECATED_INTERNAL_FEATURE (rb_clear_trace_func)
| DECLARE_DEPRECATED_INTERNAL_FEATURE (rb_generic_ivar_table)
| NORETURN (ERRORFUNC(("internal function"), VALUE rb_mod_const_missing(VALUE, VALUE)))
| DEPRECATED (static inline int ruby_show_copyright_to_die(int))

## Macro Definition Documentation

## ◆ DECLARE_DEPRECATED_FEATURE

#define DECLARE_DEPRECATED_FEATURE | ( |  | ver,
|  |  | func
| ) |  | NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))

Definition at line 12 of file backward.h.

## ◆ DECLARE_DEPRECATED_INTERNAL_FEATURE

#define DECLARE_DEPRECATED_INTERNAL_FEATURE | ( |  | func | ) | NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))

Definition at line 34 of file backward.h.

## ◆ RClass

#define RClass RClassDeprecated

Definition at line 4 of file backward.h.

## ◆ ruby_show_copyright

#define ruby_show_copyright | ( |  | ) |

Value:
/* defer EXIT_SUCCESS */ \
(exit(ruby_show_copyright_to_die(EXIT_SUCCESS)))

Definition at line 75 of file backward.h.

## ◆ RUBY_SHOW_COPYRIGHT_TO_DIE

#define RUBY_SHOW_COPYRIGHT_TO_DIE 1

Definition at line 64 of file backward.h.

## Function Documentation

## ◆ DECLARE_DEPRECATED_FEATURE() [1/8]

DECLARE_DEPRECATED_FEATURE | ( | 2. | 2,
|  | rb_clear_cache |
| ) |  |

## ◆ DECLARE_DEPRECATED_FEATURE() [2/8]

DECLARE_DEPRECATED_FEATURE | ( | 2. | 2,
|  | rb_disable_super |
| ) |  |

## ◆ DECLARE_DEPRECATED_FEATURE() [3/8]

DECLARE_DEPRECATED_FEATURE | ( | 2. | 2,
|  | rb_enable_super |
| ) |  |

## ◆ DECLARE_DEPRECATED_FEATURE() [4/8]

DECLARE_DEPRECATED_FEATURE | ( | 2. | 2,
|  | rb_frame_pop |
| ) |  |

## ◆ DECLARE_DEPRECATED_FEATURE() [5/8]

DECLARE_DEPRECATED_FEATURE | ( | 2. | 2,
|  | rb_hash_ifnone |
| ) |  |

## ◆ DECLARE_DEPRECATED_FEATURE() [6/8]

DECLARE_DEPRECATED_FEATURE | ( | 2. | 2,
|  | rb_hash_iter_lev |
| ) |  |

## ◆ DECLARE_DEPRECATED_FEATURE() [7/8]

DECLARE_DEPRECATED_FEATURE | ( | 2. | 2,
|  | rb_str_associate |
| ) |  |

## ◆ DECLARE_DEPRECATED_FEATURE() [8/8]

DECLARE_DEPRECATED_FEATURE | ( | 2. | 2,
|  | rb_str_associated |
| ) |  |

## ◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [1/9]

DECLARE_DEPRECATED_INTERNAL_FEATURE | ( | rb_clear_trace_func |  | ) |

## ◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [2/9]

DECLARE_DEPRECATED_INTERNAL_FEATURE | ( | rb_compile_error |  | ) |

## ◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [3/9]

DECLARE_DEPRECATED_INTERNAL_FEATURE | ( | rb_compile_error_append |  | ) |

## ◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [4/9]

DECLARE_DEPRECATED_INTERNAL_FEATURE | ( | rb_compile_error_with_enc |  | ) |

## ◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [5/9]

DECLARE_DEPRECATED_INTERNAL_FEATURE | ( | rb_exec_end_proc |  | ) |

## ◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [6/9]

DECLARE_DEPRECATED_INTERNAL_FEATURE | ( | rb_gc_call_finalizer_at_exit |  | ) |

## ◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [7/9]

DECLARE_DEPRECATED_INTERNAL_FEATURE | ( | rb_generic_ivar_table |  | ) |

## ◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [8/9]

DECLARE_DEPRECATED_INTERNAL_FEATURE | ( | rb_struct_ptr |  | ) |

## ◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [9/9]

DECLARE_DEPRECATED_INTERNAL_FEATURE | ( | rb_trap_exit |  | ) |

## ◆ DEPRECATED() [1/2]

DEPRECATED | ( | static inline int | ruby_show_copyright_to_dieint | ) |

## ◆ DEPRECATED() [2/2]

DEPRECATED | ( | void | rb_autoloadVALUE, ID, const char * | ) |

## ◆ DEPRECATED_TYPE()

DEPRECATED_TYPE | ( | ("RClass is internal use only") | ,
|  | struct RClass { struct RBasic basic;} |
| ) |  |

## ◆ NORETURN() [1/2]

NORETURN | ( | ERRORFUNC(("internal function"), VALUE rb_mod_const_missing(VALUE, VALUE)) |  | ) |

## ◆ NORETURN() [2/2]

NORETURN | ( | ERRORFUNC(("internal function"), void rb_frozen_class_p(VALUE)) |  | ) |

exit
void exit(int __status) __attribute__((__noreturn__))
EXIT_SUCCESS
#define EXIT_SUCCESS
Definition: error.c:39