1 #ifndef RUBY_RUBY_BACKWARD_H 2 #define RUBY_RUBY_BACKWARD_H 1 4 #define RClass RClassDeprecated 12 #define DECLARE_DEPRECATED_FEATURE(ver, func) \ 13 NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) 38 #define DECLARE_DEPRECATED_INTERNAL_FEATURE(func) \ 39 NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) 53 #ifndef RUBY_SHOW_COPYRIGHT_TO_DIE 54 # define RUBY_SHOW_COPYRIGHT_TO_DIE 1 56 #if RUBY_SHOW_COPYRIGHT_TO_DIE 58 DEPRECATED(
static inline int ruby_show_copyright_to_die(
int));
60 ruby_show_copyright_to_die(
int exitcode)
65 #define ruby_show_copyright() \ 66 (exit(ruby_show_copyright_to_die(EXIT_SUCCESS))) DEPRECATED_TYPE(("RClass is internal use only"), struct RClass { struct RBasic basic;})
void rb_autoload(VALUE mod, ID id, const char *file)
#define DECLARE_DEPRECATED_INTERNAL_FEATURE(func)
#define DECLARE_DEPRECATED_FEATURE(ver, func)
DEPRECATED(void rb_autoload(VALUE, ID, const char *))
#define ruby_show_copyright()