summaryrefslogtreecommitdiffstats
path: root/include/ruby/intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-26 14:29:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-26 14:29:13 +0000
commitc967ebdb0b16d3c17d5e9e2b769c5c654d0a9bc9 (patch)
tree0cdc9fa3b6e9e10920cfe14c27cac389c2a0d5a3 /include/ruby/intern.h
parentabf27c964e62af0a094648e134335558d8bbe367 (diff)
downloadruby-c967ebdb0b16d3c17d5e9e2b769c5c654d0a9bc9.tar.gz
ruby-c967ebdb0b16d3c17d5e9e2b769c5c654d0a9bc9.tar.xz
ruby-c967ebdb0b16d3c17d5e9e2b769c5c654d0a9bc9.zip
* st.c: moved murmur hash from string.c. [ruby-dev:39376]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/intern.h')
-rw-r--r--include/ruby/intern.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index e01e2d36f..b829c2741 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -639,6 +639,9 @@ st_index_t rb_hash_start(st_index_t);
st_index_t rb_hash_uint32(st_index_t, uint32_t);
st_index_t rb_hash_uint(st_index_t, st_index_t);
st_index_t rb_hash_end(st_index_t);
+#define rb_hash_uint32(h, i) st_hash_uint32(h, i)
+#define rb_hash_uint(h, i) st_hash_uint(h, i)
+#define rb_hash_end(h) st_hash_end(h)
st_index_t rb_str_hash(VALUE);
int rb_str_hash_cmp(VALUE,VALUE);
int rb_str_comparable(VALUE, VALUE);