[前][次][番号順一覧][スレッド一覧]

ruby-changes:38476

From: nobu <ko1@a...>
Date: Wed, 20 May 2015 13:21:25 +0900 (JST)
Subject: [ruby-changes:38476] nobu:r50557 (trunk): ruby.h: DEPRECATED_BY

nobu	2015-05-20 13:21:08 +0900 (Wed, 20 May 2015)

  New Revision: 50557

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50557

  Log:
    ruby.h: DEPRECATED_BY
    
    * include/ruby/ruby.h (DEPRECATED_BY): fallback definition without
      additional messages.

  Modified files:
    trunk/include/ruby/ruby.h
Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 50556)
+++ include/ruby/ruby.h	(revision 50557)
@@ -35,6 +35,9 @@ extern "C" { https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L35
 #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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]