mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
RClassDeprecated: delete
It has been deprecated for 5 years since 1f22556040
.
This commit is contained in:
parent
3353baac3d
commit
3437e6247d
Notes:
git
2020-08-27 15:03:26 +09:00
2 changed files with 0 additions and 13 deletions
|
@ -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))))
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue