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:
parent
a52603a8ea
commit
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user