summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-08 13:18:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-08 13:18:13 +0000
commite6dd856d73d084371c0b916cdfabf5775c1d0375 (patch)
tree7e77539826c29714d1442259f0c5a8b887a2215a /include
parentbbd9c406d6f34d028a844a16a04634f9a02217c0 (diff)
* st.c (st_init_*table_with_size): use st_index_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/st.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ruby/st.h b/include/ruby/st.h
index a63364cb45..f9c572e10c 100644
--- a/include/ruby/st.h
+++ b/include/ruby/st.h
@@ -83,13 +83,13 @@ struct st_table {
enum st_retval {ST_CONTINUE, ST_STOP, ST_DELETE, ST_CHECK};
st_table *st_init_table(const struct st_hash_type *);
-st_table *st_init_table_with_size(const struct st_hash_type *, int);
+st_table *st_init_table_with_size(const struct st_hash_type *, st_index_t);
st_table *st_init_numtable(void);
-st_table *st_init_numtable_with_size(int);
+st_table *st_init_numtable_with_size(st_index_t);
st_table *st_init_strtable(void);
-st_table *st_init_strtable_with_size(int);
+st_table *st_init_strtable_with_size(st_index_t);
st_table *st_init_strcasetable(void);
-st_table *st_init_strcasetable_with_size(int);
+st_table *st_init_strcasetable_with_size(st_index_t);
int st_delete(st_table *, st_data_t *, st_data_t *); /* returns 0:notfound 1:deleted */
int st_delete_safe(st_table *, st_data_t *, st_data_t *, st_data_t);
int st_insert(st_table *, st_data_t, st_data_t);