summaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-11 08:09:19 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-11 08:09:19 +0000
commitad0b87727df89ea54edb2d6a6b295147fbca55f8 (patch)
tree0377ff70716b13f971f94019c8078b2d5c86522b /st.h
parentf2ad09d5b7cdea64963433af13a9525bebc19a78 (diff)
* hash.c (rb_hash_identical): a new method to make a hash to
compare keys by their identity. * hash.c (rb_hash_identical_p): new method to tell if a hash is identical or not. * st.c (st_numcmp, st_numhash): export hash type functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.h')
-rw-r--r--st.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/st.h b/st.h
index 4dad9c5f04..45609ddeb1 100644
--- a/st.h
+++ b/st.h
@@ -60,11 +60,7 @@ void st_add_direct(st_table *, st_data_t, st_data_t);
void st_free_table(st_table *);
void st_cleanup_safe(st_table *, st_data_t);
st_table *st_copy(st_table *);
-
-#define ST_NUMCMP ((int (*)()) 0)
-#define ST_NUMHASH ((int (*)()) -2)
-
-#define st_numcmp ST_NUMCMP
-#define st_numhash ST_NUMHASH
+int st_numcmp(long, long);
+int st_numhash(long);
#endif /* ST_INCLUDED */