summaryrefslogtreecommitdiff
path: root/include/ruby/ruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/ruby.h')
-rw-r--r--include/ruby/ruby.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index cfc1005919..cbd4044d75 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -825,8 +825,8 @@ struct RObject {
ROBJECT(o)->as.heap.iv_index_tbl)
#define RClass RClassDeprecated
-DEPRECATED_TYPE(("RClass is internal use only"),
-struct RClass {
+struct DEPRECATED_TYPE(("RClass is internal use only"),
+RClass {
struct RBasic basic;
});
#define RCLASS_SUPER(c) rb_class_get_superclass(c)