It has been deprecated for 5 years since 1f22556040.
This commit is contained in:
卜部昌平 2020-07-22 10:40:41 +09:00
Родитель 3353baac3d
Коммит 3437e6247d
2 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -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