зеркало из https://github.com/github/ruby.git
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
This commit is contained in:
Родитель
a52603a8ea
Коммит
ea4b535579
11
eval.c
11
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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче