summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1997-12-25 17:06:30 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:33 +0900
commit4207990990f8c8da414710816c32ae5fd0ae6987 (patch)
tree655a18271e3e85812f7fc6e008400f2f4f795593 /hash.c
parent66541bbb3630a5c512f8012c52ae777ab83beba5 (diff)
version 1.0-971225v1_0_971225
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-1.0-971225.tar.gz Thu Dec 25 17:06:30 1997 Yukihiro Matsumoto <matz@netlab.co.jp> * version 1.0-971225 * some minor bug fixes.
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index 0ced1d5..e93c85a 100644
--- a/hash.c
+++ b/hash.c
@@ -108,11 +108,12 @@ hash_foreach_iter(key, value, arg)
return status;
}
-static int
+static VALUE
hash_foreach_call(arg)
struct hash_foreach_arg *arg;
{
- return st_foreach(arg->hash->tbl, hash_foreach_iter, arg);
+ st_foreach(arg->hash->tbl, hash_foreach_iter, arg);
+ return Qnil;
}
static int