RClassDeprecated: delete
It has been deprecated for 5 years since 1f2255604087e9a7d7efcb2df61b5ca0e2daa200.
This commit is contained in:
parent
3353baac3d
commit
3437e6247d
Notes:
git
2020-08-27 15:03:26 +09:00
@ -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…
x
Reference in New Issue
Block a user