From a7a2a66f2ef7d0a54ce54abb74c525b2e4d9f5d7 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 20 May 2015 04:21:08 +0000 Subject: 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 --- include/ruby/ruby.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit v1.2.3