Ruby  2.5.0dev(2017-10-22revision60238)
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_complex_set_real)
 
 DECLARE_DEPRECATED_FEATURE (2.2, rb_complex_set_imag)
 
 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)
 
 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_struct_ptr)
 
 DECLARE_DEPRECATED_INTERNAL_FEATURE (rb_generic_ivar_table)
 
 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 38 of file backward.h.

◆ RClass

#define RClass   RClassDeprecated

Definition at line 4 of file backward.h.

◆ ruby_show_copyright

#define ruby_show_copyright (   void)
Value:
/* defer EXIT_SUCCESS */ \
(exit(ruby_show_copyright_to_die(EXIT_SUCCESS)))
#define EXIT_SUCCESS
Definition: error.c:37

Definition at line 65 of file backward.h.

◆ RUBY_SHOW_COPYRIGHT_TO_DIE

#define RUBY_SHOW_COPYRIGHT_TO_DIE   1

Definition at line 54 of file backward.h.

Function Documentation

◆ DECLARE_DEPRECATED_FEATURE() [1/10]

DECLARE_DEPRECATED_FEATURE ( 2.  2,
rb_complex_set_real   
)

◆ DECLARE_DEPRECATED_FEATURE() [2/10]

DECLARE_DEPRECATED_FEATURE ( 2.  2,
rb_complex_set_imag   
)

◆ DECLARE_DEPRECATED_FEATURE() [3/10]

DECLARE_DEPRECATED_FEATURE ( 2.  2,
rb_disable_super   
)

◆ DECLARE_DEPRECATED_FEATURE() [4/10]

DECLARE_DEPRECATED_FEATURE ( 2.  2,
rb_enable_super   
)

◆ DECLARE_DEPRECATED_FEATURE() [5/10]

DECLARE_DEPRECATED_FEATURE ( 2.  2,
rb_hash_iter_lev   
)

◆ DECLARE_DEPRECATED_FEATURE() [6/10]

DECLARE_DEPRECATED_FEATURE ( 2.  2,
rb_hash_ifnone   
)

◆ DECLARE_DEPRECATED_FEATURE() [7/10]

DECLARE_DEPRECATED_FEATURE ( 2.  2,
rb_str_associate   
)

◆ DECLARE_DEPRECATED_FEATURE() [8/10]

DECLARE_DEPRECATED_FEATURE ( 2.  2,
rb_str_associated   
)

◆ DECLARE_DEPRECATED_FEATURE() [9/10]

DECLARE_DEPRECATED_FEATURE ( 2.  2,
rb_clear_cache   
)

◆ DECLARE_DEPRECATED_FEATURE() [10/10]

DECLARE_DEPRECATED_FEATURE ( 2.  2,
rb_frame_pop   
)

◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [1/5]

DECLARE_DEPRECATED_INTERNAL_FEATURE ( rb_compile_error  )

◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [2/5]

DECLARE_DEPRECATED_INTERNAL_FEATURE ( rb_compile_error_with_enc  )

◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [3/5]

DECLARE_DEPRECATED_INTERNAL_FEATURE ( rb_compile_error_append  )

◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [4/5]

DECLARE_DEPRECATED_INTERNAL_FEATURE ( rb_struct_ptr  )

◆ DECLARE_DEPRECATED_INTERNAL_FEATURE() [5/5]

DECLARE_DEPRECATED_INTERNAL_FEATURE ( rb_generic_ivar_table  )

◆ DEPRECATED() [1/2]

DEPRECATED ( void   rb_autoloadVALUE, ID, const char *)

◆ DEPRECATED() [2/2]

DEPRECATED ( static inline int   ruby_show_copyright_to_dieint)

◆ DEPRECATED_TYPE()

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