summaryrefslogtreecommitdiff
path: root/intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-30 03:02:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-30 03:02:35 +0000
commit59b1cef2f12112cbd515bf1bcfb8b1997538db48 (patch)
tree0b91be76f32fef5a10f318ed789117290ed6290f /intern.h
parent74ef5a647fa0b42e6be22c4734a98150473825c2 (diff)
* 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern.h b/intern.h
index 04fbf7f113..5a941b6627 100644
--- a/intern.h
+++ b/intern.h
@@ -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);