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

ruby-changes:38475

From: nobu <ko1@a...>
Date: Wed, 20 May 2015 13:17:03 +0900 (JST)
Subject: [ruby-changes:38475] nobu:r50556 (trunk): configure.in: DEPRECATED_BY

nobu	2015-05-20 13:16:46 +0900 (Wed, 20 May 2015)

  New Revision: 50556

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

  Log:
    configure.in: DEPRECATED_BY
    
    * configure.in (DEPRECATED_BY): deprecate warning with preferable
      alternative.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 50555)
+++ configure.in	(revision 50556)
@@ -1653,6 +1653,7 @@ AS_VAR_POPDEF([rbcv])dnl https://github.com/ruby/ruby/blob/trunk/configure.in#L1653
 
 RUBY_FUNC_ATTRIBUTE(noreturn, NORETURN)
 RUBY_FUNC_ATTRIBUTE(deprecated, DEPRECATED)
+RUBY_FUNC_ATTRIBUTE(deprecated("by "@%:@n), DEPRECATED_BY(n,x), rb_cv_func_deprecated_by)
 RUBY_FUNC_ATTRIBUTE(noinline, NOINLINE)
 
 if_i386=${universal_binary+[defined __i386__]}
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50555)
+++ ChangeLog	(revision 50556)
@@ -1,4 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
-Wed May 20 13:14:30 2015  Nobuyoshi Nakada  <nobu@r...>
+Wed May 20 13:16:23 2015  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (DEPRECATED_BY): deprecate warning with preferable
+	  alternative.
 
 	* configure.in (RUBY_FUNC_ATTRIBUTE): allow attribute arguments in
 	  the macro.

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

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