mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
backward.h: RClassDeprecated
* include/ruby/backward.h (RClassDeprecated): move from ruby/ruby.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6699debd61
commit
f5faaf7b9a
2 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,14 @@
|
|||
#ifndef RUBY_RUBY_BACKWARD_H
|
||||
#define RUBY_RUBY_BACKWARD_H 1
|
||||
|
||||
#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))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue