Remove unused function from struct rb_parser_config_struct

This commit is contained in:
yui-knk 2024-04-06 19:09:36 +09:00 committed by Yuichiro Kaneko
parent 02f5e627a4
commit 0b4db711dd
3 changed files with 0 additions and 4 deletions

View File

@ -483,7 +483,6 @@ static const rb_parser_config_t rb_global_parser_config = {
.filesystem_str_new_cstr = rb_filesystem_str_new_cstr,
.obj_as_string = rb_obj_as_string,
.num2int = rb_num2int_inline,
.int2num = rb_int2num_inline,
.stderr_tty_p = rb_stderr_tty_p,

View File

@ -1310,7 +1310,6 @@ typedef struct rb_parser_config_struct {
VALUE (*obj_as_string)(VALUE);
/* Numeric */
int (*num2int)(VALUE val);
VALUE (*int2num)(int v);
/* IO */

View File

@ -156,8 +156,6 @@
#define rb_filesystem_str_new_cstr p->config->filesystem_str_new_cstr
#define rb_obj_as_string p->config->obj_as_string
#undef NUM2INT
#define NUM2INT p->config->num2int
#undef INT2NUM
#define INT2NUM p->config->int2num