Ruby
2.5.0dev(2017-10-22revision60238)
include
ruby
backward
classext.h
Go to the documentation of this file.
1
#if defined __GNUC__
2
#warning use of RClass internals is deprecated
3
#elif defined _MSC_VER
4
#pragma message("warning: use of RClass internals is deprecated")
5
#endif
6
7
#ifndef RUBY_BACKWARD_CLASSEXT_H
8
#define RUBY_BACKWARD_CLASSEXT_H 1
9
10
typedef
struct
rb_deprecated_classext_struct
{
11
VALUE
super
;
12
}
rb_deprecated_classext_t
;
13
14
#undef RCLASS_SUPER(c)
15
#define RCLASS_EXT(c) ((rb_deprecated_classext_t *)RCLASS(c)->ptr)
16
#define RCLASS_SUPER(c) (RCLASS(c)->super)
17
18
#endif
/* RUBY_BACKWARD_CLASSEXT_H */
rb_deprecated_classext_t
struct rb_deprecated_classext_struct rb_deprecated_classext_t
rb_deprecated_classext_struct::super
VALUE super
Definition:
classext.h:11
VALUE
unsigned long VALUE
Definition:
ruby.h:85
rb_deprecated_classext_struct
Definition:
classext.h:10
Generated by
1.8.13