1 #ifndef RUBY_RUBY_BACKWARD_H
2 #define RUBY_RUBY_BACKWARD_H 1
12 #include "ruby/backward/2/attributes.h"
14 #define RBIMPL_ATTR_DEPRECATED_SINCE(ver) RBIMPL_ATTR_DEPRECATED(("since " #ver))
15 #define RBIMPL_ATTR_DEPRECATED_INTERNAL(ver) RBIMPL_ATTR_DEPRECATED(("since "#ver", also internal"))
18 RBIMPL_ATTR_DEPRECATED_SINCE(2.2) void rb_disable_super();
19 RBIMPL_ATTR_DEPRECATED_SINCE(2.2)
void rb_enable_super();
22 RBIMPL_ATTR_DEPRECATED_SINCE(2.2)
void rb_hash_iter_lev();
23 RBIMPL_ATTR_DEPRECATED_SINCE(2.2)
void rb_hash_ifnone();
26 RBIMPL_ATTR_DEPRECATED_SINCE(2.2)
void rb_str_associate();
27 RBIMPL_ATTR_DEPRECATED_SINCE(2.2)
void rb_str_associated();
30 RBIMPL_ATTR_DEPRECATED_SINCE(2.5)
void rb_autoload();
33 RBIMPL_ATTR_DEPRECATED_INTERNAL(2.6)
void rb_frozen_class_p();
34 RBIMPL_ATTR_DEPRECATED_INTERNAL(2.7)
void rb_exec_end_proc();
37 RBIMPL_ATTR_DEPRECATED_INTERNAL(2.3)
void rb_compile_error();
38 RBIMPL_ATTR_DEPRECATED_INTERNAL(2.3)
void rb_compile_error_with_enc();
39 RBIMPL_ATTR_DEPRECATED_INTERNAL(2.3)
void rb_compile_error_append();
42 RBIMPL_ATTR_DEPRECATED_INTERNAL(2.7)
void rb_gc_call_finalizer_at_exit();
45 RBIMPL_ATTR_DEPRECATED_INTERNAL(2.7)
void rb_trap_exit();
48 RBIMPL_ATTR_DEPRECATED_INTERNAL(2.4)
void rb_struct_ptr();
51 RBIMPL_ATTR_DEPRECATED_INTERNAL(2.7)
void rb_clear_trace_func();
54 RBIMPL_ATTR_DEPRECATED_INTERNAL(2.7)
void rb_generic_ivar_table();
55 RBIMPL_ATTR_DEPRECATED_INTERNAL(2.6) NORETURN(
VALUE rb_mod_const_missing(
VALUE,
VALUE));
58 #if defined(RUBY_SHOW_COPYRIGHT_TO_DIE) && !!(RUBY_SHOW_COPYRIGHT_TO_DIE+0)
60 RBIMPL_ATTR_DEPRECATED_SINCE(2.4)
62 ruby_show_copyright_to_die(
int exitcode)
67 #define ruby_show_copyright() \
68 (exit(ruby_show_copyright_to_die(EXIT_SUCCESS)))
void ruby_show_copyright(void)
Prints the copyright notice of the CRuby interpreter to stdout.
Interpreter embedding APIs.
uintptr_t VALUE
Type that represents a Ruby object.