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

ruby-changes:48694

From: ko1 <ko1@a...>
Date: Thu, 16 Nov 2017 18:24:53 +0900 (JST)
Subject: [ruby-changes:48694] ko1:r60810 (trunk): remove an unused function.

ko1	2017-11-16 18:24:48 +0900 (Thu, 16 Nov 2017)

  New Revision: 60810

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

  Log:
    remove an unused function.
    
    * eval.c (rb_iterator_p): removed because nobody use it
      and not exposed by headers.

  Modified files:
    trunk/eval.c
Index: eval.c
===================================================================
--- eval.c	(revision 60809)
+++ eval.c	(revision 60810)
@@ -842,17 +842,6 @@ rb_block_given_p(void) https://github.com/ruby/ruby/blob/trunk/eval.c#L842
     }
 }
 
-/*!  Determines if the current method is an interator.
- *
- * An alias of rb_block_given_p().
- * \ingroup defmethod
- */
-int
-rb_iterator_p(void)
-{
-    return rb_block_given_p();
-}
-
 VALUE rb_eThreadError;
 
 /*! Declares that the current method needs a block.

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

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