Ruby 3.5.0dev (2025-01-10 revision 5fab31b15e32622c4b71d1d347a41937e9f9c212)
r_cast.h
1#ifndef RUBY_BACKWARD2_R_CAST_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RUBY_BACKWARD2_R_CAST_H
24#define R_CAST(st) (struct st*)
25#define RMOVED(obj) (R_CAST(RMoved)(obj))
26
27#if defined(__GNUC__)
28# warning R_CAST and RMOVED are deprecated
29#elif defined(_MSC_VER)
30# pragma message("warning: R_CAST and RMOVED are deprecated")
31#endif
32#endif /* RUBY_BACKWARD2_R_CAST_H */