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

ruby-changes:36201

From: nobu <ko1@a...>
Date: Wed, 5 Nov 2014 16:56:05 +0900 (JST)
Subject: [ruby-changes:36201] nobu:r48282 (trunk): proc.c: remove rb_f_lambda

nobu	2014-11-05 16:55:54 +0900 (Wed, 05 Nov 2014)

  New Revision: 48282

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

  Log:
    proc.c: remove rb_f_lambda
    
    * proc.c (rb_f_lambda): remove deprecated function, which has been
      unavailable from extension libraries.

  Modified files:
    trunk/ChangeLog
    trunk/proc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48281)
+++ ChangeLog	(revision 48282)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Nov  5 16:55:52 2014  Nobuyoshi Nakada  <nobu@r...>
+
+	* proc.c (rb_f_lambda): remove deprecated function, which has been
+	  unavailable from extension libraries.
+
 Wed Nov  5 16:26:58 2014  Nobuyoshi Nakada  <nobu@r...>
 
 	* include/ruby/intern.h (rb_clear_cache): mark as deprecated, not
Index: proc.c
===================================================================
--- proc.c	(revision 48281)
+++ proc.c	(revision 48282)
@@ -670,13 +670,6 @@ rb_block_clear_env_self(VALUE proc) https://github.com/ruby/ruby/blob/trunk/proc.c#L670
     return proc;
 }
 
-VALUE
-rb_f_lambda(void)
-{
-    rb_warn("rb_f_lambda() is deprecated; use rb_block_proc() instead");
-    return rb_block_lambda();
-}
-
 /*  Document-method: ===
  *
  *  call-seq:

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

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