mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 0 additions and 11 deletions
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;
|
VALUE rb_eThreadError;
|
||||||
|
|
||||||
/*! Declares that the current method needs a block.
|
/*! Declares that the current method needs a block.
|
||||||
|
|
Loading…
Add table
Reference in a new issue