mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
3a48e12607
* include/ruby/backward/rubyio.h: ditto. * include/ruby/backward/st.h: ditto. * include/ruby/backward/util.h: ditto. * include/ruby/backward/rubysig.h: ditto. * include/ruby/backward/classext.h: ditto. * dln.c: ditto. * gc.c: ditto. * win32/resource.rb: ditto. * win32/dir.h: ditto. * ext/tk/tcltklib.c: ditto. * NEWS: announce that Borland-C is no longer supported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
18 lines
501 B
C
18 lines
501 B
C
#if defined __GNUC__
|
|
#warning use of RClass internals is deprecated
|
|
#elif defined _MSC_VER
|
|
#pragma message("warning: use of RClass internals is deprecated")
|
|
#endif
|
|
|
|
#ifndef RUBY_BACKWARD_CLASSEXT_H
|
|
#define RUBY_BACKWARD_CLASSEXT_H 1
|
|
|
|
typedef struct rb_deprecated_classext_struct {
|
|
VALUE super;
|
|
} rb_deprecated_classext_t;
|
|
|
|
#undef RCLASS_SUPER(c)
|
|
#define RCLASS_EXT(c) ((rb_deprecated_classext_t *)RCLASS(c)->ptr)
|
|
#define RCLASS_SUPER(c) (RCLASS(c)->super)
|
|
|
|
#endif /* RUBY_BACKWARD_CLASSEXT_H */
|