mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* string.c (hash): should be "static".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d6ada9f14b
commit
9eec758a1e
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Jun 5 07:48:32 2008 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* string.c (hash): should be "static".
|
||||
|
||||
Thu Jun 5 01:47:18 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/ruby/test_transcode.rb: add tests for iso-2022-jp.
|
||||
|
|
2
string.c
2
string.c
|
@ -1698,7 +1698,7 @@ rb_str_concat(VALUE str1, VALUE str2)
|
|||
#endif
|
||||
|
||||
/* MurmurHash described in http://murmurhash.googlepages.com/ */
|
||||
unsigned int
|
||||
static unsigned int
|
||||
hash(const unsigned char * data, int len, unsigned int h)
|
||||
{
|
||||
const unsigned int m = 0x7fd652ad;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue