mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enumerator.c (proc_call): Remove an unused static function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
97a0cee78b
commit
1e81e55093
2 changed files with 4 additions and 11 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri May 23 16:46:28 2008 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* enumerator.c (proc_call): Remove an unused static function.
|
||||
|
||||
Fri May 23 13:46:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (cflags): commit miss.
|
||||
|
|
11
enumerator.c
11
enumerator.c
|
@ -25,17 +25,6 @@ static VALUE sym_each;
|
|||
|
||||
VALUE rb_eStopIteration;
|
||||
|
||||
static VALUE
|
||||
proc_call(proc, args)
|
||||
VALUE proc;
|
||||
VALUE args;
|
||||
{
|
||||
if (TYPE(args) != T_ARRAY) {
|
||||
args = rb_ary_new3(1, args);
|
||||
}
|
||||
return rb_proc_call(proc, args);
|
||||
}
|
||||
|
||||
struct enumerator {
|
||||
VALUE obj;
|
||||
ID meth;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue