mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
De-duplicate parse_st.c code from st.c
This commit is contained in:
parent
3443e43b62
commit
c94b5f121d
Notes:
git
2023-06-24 10:17:55 +00:00
4 changed files with 8 additions and 2022 deletions
|
@ -105,6 +105,7 @@ enum parser_st_retval {ST2_CONTINUE, ST2_STOP, ST2_DELETE, ST2_CHECK, ST2_REPLAC
|
|||
size_t rb_parser_st_table_size(const struct parser_st_table *tbl);
|
||||
parser_st_table *rb_parser_st_init_table(const struct parser_st_hash_type *);
|
||||
parser_st_table *rb_parser_st_init_table_with_size(const struct parser_st_hash_type *, parser_st_index_t);
|
||||
parser_st_table *rb_parser_st_init_existing_table_with_size(parser_st_table *, const struct parser_st_hash_type *, parser_st_index_t);
|
||||
parser_st_table *rb_parser_st_init_numtable(void);
|
||||
parser_st_table *rb_parser_st_init_numtable_with_size(parser_st_index_t);
|
||||
parser_st_table *rb_parser_st_init_strtable(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue