From 59b1cef2f12112cbd515bf1bcfb8b1997538db48 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 30 Aug 2006 03:02:35 +0000 Subject: * 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 --- intern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'intern.h') 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); -- cgit v1.2.3