diff options
author | yui-knk <[email protected]> | 2024-01-11 21:27:19 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2024-01-12 21:17:41 +0900 |
commit | 52d9e55903b2e72022ba90079cb23c6f2cd03af5 (patch) | |
tree | 8e21eed40a4dfe6408053f17387ef60fc8efbb0e /internal/ruby_parser.h | |
parent | c3b2436154015bab6b94f132b60bdb1fbba02426 (diff) |
Statically allocate parser config
Diffstat (limited to 'internal/ruby_parser.h')
-rw-r--r-- | internal/ruby_parser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/ruby_parser.h b/internal/ruby_parser.h index 54e25276ee..ddff2c364d 100644 --- a/internal/ruby_parser.h +++ b/internal/ruby_parser.h @@ -12,7 +12,8 @@ RUBY_SYMBOL_EXPORT_BEGIN #ifdef UNIVERSAL_PARSER -void rb_parser_config_initialize(rb_parser_config_t *config); +rb_parser_t *rb_parser_params_allocate(void); +rb_parser_t *rb_parser_params_new(void); #endif VALUE rb_parser_set_context(VALUE, const struct rb_iseq_struct *, int); VALUE rb_parser_new(void); |