summaryrefslogtreecommitdiffstats
path: root/st.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-23 00:51:32 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-23 00:51:32 +0000
commitb2108973bc03a328537ce46685f52f7ffe4cc12d (patch)
tree6217876c5f588c79c691c943566548c1e10ac61a /st.h
parenta8eae4545cd08491ac0f705d7a0af7202531bbe4 (diff)
downloadruby-b2108973bc03a328537ce46685f52f7ffe4cc12d.tar.gz
ruby-b2108973bc03a328537ce46685f52f7ffe4cc12d.tar.xz
ruby-b2108973bc03a328537ce46685f52f7ffe4cc12d.zip
* hash.c (rb_hash_rehash): replace st_foreach() by its deep
checking counterpart. [ruby-dev:24310] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.h')
-rw-r--r--st.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/st.h b/st.h
index e795f557b..5f6cf991c 100644
--- a/st.h
+++ b/st.h
@@ -27,6 +27,10 @@ struct st_table {
enum st_retval {ST_CONTINUE, ST_STOP, ST_DELETE, ST_CHECK};
+#ifndef _
+# define _(args) args
+#endif
+
st_table *st_init_table _((struct st_hash_type *));
st_table *st_init_table_with_size _((struct st_hash_type *, int));
st_table *st_init_numtable _((void));