summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-16 09:24:48 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-16 09:24:48 +0000
commitea4b535579a77fc7f49bc00bc8d95f802b1d9ad4 (patch)
tree1df9f4ec836e9c1a8d3cc36064d5b23e36d5e905 /eval.c
parenta52603a8ea0fa31fd567d42efcbad256bb48e2b5 (diff)
remove an unused function.
* eval.c (rb_iterator_p): removed because nobody use it and not exposed by headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/eval.c b/eval.c
index 5b578ed..8703e8e 100644
--- a/eval.c
+++ b/eval.c
@@ -842,17 +842,6 @@ rb_block_given_p(void)
}
}
-/*! 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.