diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-07-22 10:40:41 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-08-27 15:02:52 +0900 |
commit | 3437e6247da991db94a804b2c15b2a05dc2d79bd (patch) | |
tree | c10262e77f505483654d9276f48744ae02a9353c | |
parent | 3353baac3d55e1b42515ce7084e7b7f07abc0192 (diff) |
RClassDeprecated: delete
It has been deprecated for 5 years since 1f2255604087e9a7d7efcb2df61b5ca0e2daa200.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3341
-rw-r--r-- | include/ruby/backward.h | 9 | ||||
-rw-r--r-- | internal/class.h | 4 |
2 files changed, 0 insertions, 13 deletions
diff --git a/include/ruby/backward.h b/include/ruby/backward.h index 84abba2dab..d8ea12b8dd 100644 --- a/include/ruby/backward.h +++ b/include/ruby/backward.h @@ -8,19 +8,10 @@ * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. */ -#include "ruby/internal/core/rbasic.h" #include "ruby/internal/value.h" #include "ruby/internal/interpreter.h" #include "ruby/backward/2/attributes.h" -#define RClass RClassDeprecated -#ifndef __cplusplus -DEPRECATED_TYPE(("RClass is internal use only"), -struct RClass { - struct RBasic basic; -}); -#endif - #define DECLARE_DEPRECATED_FEATURE(ver, func) \ NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) diff --git a/internal/class.h b/internal/class.h index 816a3044f4..bb12825162 100644 --- a/internal/class.h +++ b/internal/class.h @@ -16,10 +16,6 @@ #include "ruby/intern.h" /* for rb_alloc_func_t */ #include "ruby/ruby.h" /* for struct RBasic */ -#ifdef RClass -# undef RClass /* See also include/ruby/backward.h */ -#endif - #ifdef RCLASS_SUPER # undef RCLASS_SUPER #endif |