summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1994-12-08 14:17:29 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:30 +0900
commit00e36aa09f54925c2f9c30524b48f4f54a9adb23 (patch)
tree57bf15576109b53406796c66b29d5e11d9fd99c0 /enum.c
parent4dfd93c72a9a221c5575c5888483f2fb55c82117 (diff)
version 0.60v0_60
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.60.tar.gz Thu Dec 8 14:17:29 1994 Yukihiro Matsumoto (matz@ix-02) * 0.60 released - alpha test baseline.
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/enum.c b/enum.c
index 1a52a20..c6866b4 100644
--- a/enum.c
+++ b/enum.c
@@ -3,7 +3,7 @@
enum.c -
$Author: matz $
- $Date: 1994/08/12 04:47:18 $
+ $Date: 1994/12/06 09:29:56 $
created at: Fri Oct 1 15:15:19 JST 1993
Copyright (C) 1994 Yukihiro Matsumoto
@@ -27,7 +27,7 @@ enum_grep(i, arg)
VALUE i, *arg;
{
if (rb_funcall(arg[0], id_match, 1, i)) {
- Fary_push(arg[1], i);
+ ary_push(arg[1], i);
}
}
@@ -85,7 +85,7 @@ enum_find_all(i, tmp)
VALUE i;
{
if (rb_yield(i)) {
- Fary_push(tmp, i);
+ ary_push(tmp, i);
}
}
@@ -109,7 +109,7 @@ enum_collect(i, tmp)
retval = rb_yield(i);
if (retval) {
- Fary_push(tmp, retval);
+ ary_push(tmp, retval);
}
}
@@ -129,7 +129,7 @@ static void
enum_reverse(i, tmp)
VALUE i, tmp;
{
- Fary_unshift(tmp, i);
+ ary_unshift(tmp, i);
}
static VALUE
@@ -148,7 +148,7 @@ static void
enum_all(i, ary)
VALUE i, ary;
{
- Fary_push(ary, i);
+ ary_push(ary, i);
}
static VALUE