diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-01-14 17:55:11 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-01-14 17:55:11 +0900 |
commit | 0610f555ea4f3ba571482f90393fe8c0701cd58a (patch) | |
tree | ad0a25d4edfe51b545debf9e7e959f82b9f8d417 /node.h | |
parent | 4e5754a459ea10c73381b3009bb889e83077575c (diff) |
Constify `rb_global_parser_config`
Diffstat (limited to 'node.h')
-rw-r--r-- | node.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,14 +43,14 @@ struct node_buffer_struct { // Array, whose entry is array VALUE tokens; #ifdef UNIVERSAL_PARSER - rb_parser_config_t *config; + const rb_parser_config_t *config; #endif }; RUBY_SYMBOL_EXPORT_BEGIN #ifdef UNIVERSAL_PARSER -rb_ast_t *rb_ast_new(rb_parser_config_t *config); +rb_ast_t *rb_ast_new(const rb_parser_config_t *config); #else rb_ast_t *rb_ast_new(void); #endif |