Remove rb_str_cat for parser

This commit is contained in:
S-H-GAMELINKS 2024-09-24 12:21:15 +09:00 committed by Nobuyoshi Nakada
parent 2a65f4c907
commit 3e742579bb
Notes: git 2024-09-26 10:21:16 +00:00
3 changed files with 0 additions and 3 deletions

View File

@ -371,7 +371,6 @@ static const rb_parser_config_t rb_global_parser_config = {
.str_catf = rb_str_catf, .str_catf = rb_str_catf,
.str_cat_cstr = rb_str_cat_cstr, .str_cat_cstr = rb_str_cat_cstr,
.str_cat = rb_str_cat,
.str_resize = rb_str_resize, .str_resize = rb_str_resize,
.str_new = rb_str_new, .str_new = rb_str_new,
.str_new_cstr = rb_str_new_cstr, .str_new_cstr = rb_str_new_cstr,

View File

@ -1213,7 +1213,6 @@ typedef struct rb_parser_config_struct {
RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 2, 3) RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 2, 3)
VALUE (*str_catf)(VALUE str, const char *format, ...); VALUE (*str_catf)(VALUE str, const char *format, ...);
VALUE (*str_cat_cstr)(VALUE str, const char *ptr); VALUE (*str_cat_cstr)(VALUE str, const char *ptr);
VALUE (*str_cat)(VALUE str, const char *ptr, long len);
VALUE (*str_resize)(VALUE str, long len); VALUE (*str_resize)(VALUE str, long len);
VALUE (*str_new)(const char *ptr, long len); VALUE (*str_new)(const char *ptr, long len);
VALUE (*str_new_cstr)(const char *ptr); VALUE (*str_new_cstr)(const char *ptr);

View File

@ -115,7 +115,6 @@
#define rb_str_catf p->config->str_catf #define rb_str_catf p->config->str_catf
#undef rb_str_cat_cstr #undef rb_str_cat_cstr
#define rb_str_cat_cstr p->config->str_cat_cstr #define rb_str_cat_cstr p->config->str_cat_cstr
#define rb_str_cat p->config->str_cat
#define rb_str_resize p->config->str_resize #define rb_str_resize p->config->str_resize
#undef rb_str_new #undef rb_str_new
#define rb_str_new p->config->str_new #define rb_str_new p->config->str_new