1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* hash.c (rb_hash_compare_by_id): add function prototype.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
glass 2013-07-29 13:06:34 +00:00
parent cff03715ff
commit 3118deb3ee
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Mon Jul 29 22:04:45 2013 Masaki Matsushita <glass.saga@gmail.com>
* hash.c (rb_hash_compare_by_id): add function prototype.
Mon Jul 29 21:53:41 2013 Masaki Matsushita <glass.saga@gmail.com>
* hash.c (rb_hash_compare_by_id): don't call rb_hash_rehash()

2
hash.c
View file

@ -2288,6 +2288,8 @@ rb_hash_flatten(int argc, VALUE *argv, VALUE hash)
return ary;
}
static VALUE rb_hash_compare_by_id_p(VALUE hash);
/*
* call-seq:
* hsh.compare_by_identity -> hsh