diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-30 03:02:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-30 03:02:35 +0000 |
commit | 59b1cef2f12112cbd515bf1bcfb8b1997538db48 (patch) | |
tree | 0b91be76f32fef5a10f318ed789117290ed6290f /intern.h | |
parent | 74ef5a647fa0b42e6be22c4734a98150473825c2 (diff) | |
download | ruby-59b1cef2f12112cbd515bf1bcfb8b1997538db48.tar.gz |
* numeric.c (flo_hash): improve collision.
* string.c (rb_memhash): new generic function to calculate hash value
for memory chunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r-- | intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -502,6 +502,7 @@ VALUE rb_str_cat(VALUE, const char*, long); VALUE rb_str_cat2(VALUE, const char*); VALUE rb_str_append(VALUE, VALUE); VALUE rb_str_concat(VALUE, VALUE); +int rb_memhash(const void *ptr, long len); int rb_str_hash(VALUE); int rb_str_cmp(VALUE, VALUE); VALUE rb_str_upto(VALUE, VALUE, int); |