diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-20 04:21:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-20 04:21:08 +0000 |
commit | a7a2a66f2ef7d0a54ce54abb74c525b2e4d9f5d7 (patch) | |
tree | 80b782daa5d5ac0db86c10fca1355e76d6d2be7f | |
parent | 18a7c902a12ce4976586763841e403fcc900f796 (diff) | |
download | ruby-a7a2a66f2ef7d0a54ce54abb74c525b2e4d9f5d7.tar.gz |
ruby.h: DEPRECATED_BY
* include/ruby/ruby.h (DEPRECATED_BY): fallback definition without
additional messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | include/ruby/ruby.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index f26dac5ce1..039b40ee8c 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -35,6 +35,9 @@ extern "C" { #ifndef DEPRECATED # define DEPRECATED(x) x #endif +#ifndef DEPRECATED_BY +# define DEPRECATED_BY(n,x) DEPRECATED(x) +#endif #ifndef NOINLINE # define NOINLINE(x) x #endif |