From e6dd856d73d084371c0b916cdfabf5775c1d0375 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 8 Sep 2009 13:18:13 +0000 Subject: * 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 --- include/ruby/st.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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); -- cgit v1.2.3