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

ruby-changes:30093

From: nagachika <ko1@a...>
Date: Wed, 24 Jul 2013 01:41:22 +0900 (JST)
Subject: [ruby-changes:30093] nagachika:r42145 (ruby_2_0_0): * include/ruby/intern.h (rb_f_lambde): restore the declaration of

nagachika	2013-07-24 01:40:53 +0900 (Wed, 24 Jul 2013)

  New Revision: 42145

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

  Log:
    * include/ruby/intern.h (rb_f_lambde): restore the declaration of
      rb_f_lambda() for backword compatibility. and mark it as deprecated.

  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/include/ruby/intern.h
    branches/ruby_2_0_0/version.h

Index: ruby_2_0_0/include/ruby/intern.h
===================================================================
--- ruby_2_0_0/include/ruby/intern.h	(revision 42144)
+++ ruby_2_0_0/include/ruby/intern.h	(revision 42145)
@@ -382,6 +382,7 @@ VALUE rb_require_safe(VALUE, int); https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/include/ruby/intern.h#L382
 void rb_obj_call_init(VALUE, int, VALUE*);
 VALUE rb_class_new_instance(int, VALUE*, VALUE);
 VALUE rb_block_proc(void);
+DEPRECATED(VALUE rb_f_lambda(void)); 
 VALUE rb_block_lambda(void);
 VALUE rb_proc_new(VALUE (*)(ANYARGS/* VALUE yieldarg[, VALUE procarg] */), VALUE);
 VALUE rb_obj_is_proc(VALUE);
Index: ruby_2_0_0/ChangeLog
===================================================================
--- ruby_2_0_0/ChangeLog	(revision 42144)
+++ ruby_2_0_0/ChangeLog	(revision 42145)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1
+Wed Jul 24 01:13:02 2013  CHIKANAGA Tomoyuki  <nagachika@r...>
+
+	* include/ruby/intern.h (rb_f_lambde): restore the declaration of
+	  rb_f_lambda() for backword compatibility. and mark it as deprecated.
+
 Tue Jul 23 01:36:43 2013  Zachary Scott  <e@z...>
 
 	* lib/rubygems/psych_additions.rb: Ignore Psych docs here
Index: ruby_2_0_0/version.h
===================================================================
--- ruby_2_0_0/version.h	(revision 42144)
+++ ruby_2_0_0/version.h	(revision 42145)
@@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1
 #define RUBY_VERSION "2.0.0"
-#define RUBY_RELEASE_DATE "2013-07-23"
-#define RUBY_PATCHLEVEL 277
+#define RUBY_RELEASE_DATE "2013-07-24"
+#define RUBY_PATCHLEVEL 278
 
 #define RUBY_RELEASE_YEAR 2013
 #define RUBY_RELEASE_MONTH 7
-#define RUBY_RELEASE_DAY 23
+#define RUBY_RELEASE_DAY 24
 
 #include "ruby/version.h"
 

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

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