summaryrefslogtreecommitdiff
path: root/rubyparser.h
diff options
context:
space:
mode:
authorS-H-GAMELINKS <[email protected]>2024-01-07 16:41:59 +0900
committerYuichiro Kaneko <[email protected]>2024-01-07 21:16:31 +0900
commitad7aee35e43bd732cb165c73bf4167c232b66505 (patch)
tree7ce094790931fc1ce0e2f3d78697b61ce990a0cd /rubyparser.h
parent7fcc6f04ac75336bcf9a8250da2948dcd8da2825 (diff)
Remove unneeded rb_parser_config_struct struct properties for Universal Parser
Diffstat (limited to 'rubyparser.h')
-rw-r--r--rubyparser.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/rubyparser.h b/rubyparser.h
index 5ec2d74047..2fe9430f88 100644
--- a/rubyparser.h
+++ b/rubyparser.h
@@ -1303,36 +1303,9 @@ typedef struct rb_parser_config_struct {
VALUE (*hash_lookup)(VALUE hash, VALUE key);
VALUE (*ident_hash_new)(void);
- /* Fixnum */
- VALUE (*int2fix)(long i);
-
- /* Bignum */
- void (*bignum_negate)(VALUE b);
- VALUE (*big_norm)(VALUE x);
- VALUE (*cstr_to_inum)(const char *str, int base, int badcheck);
-
- /* Float */
- VALUE (*float_new)(double d);
- double (*float_value)(VALUE v);
-
/* Numeric */
int (*num2int)(VALUE val);
- VALUE (*int_positive_pow)(long x, unsigned long y);
VALUE (*int2num)(int v);
- long (*fix2long)(VALUE val);
-
- /* Rational */
- VALUE (*rational_new)(VALUE x, VALUE y);
- VALUE (*rational_raw1)(VALUE x);
- void (*rational_set_num)(VALUE r, VALUE n);
- VALUE (*rational_get_num)(VALUE obj);
-
- /* Complex */
- VALUE (*complex_raw)(VALUE x, VALUE y);
- void (*rcomplex_set_real)(VALUE cmp, VALUE r);
- void (*rcomplex_set_imag)(VALUE cmp, VALUE i);
- VALUE (*rcomplex_get_real)(VALUE obj);
- VALUE (*rcomplex_get_imag)(VALUE obj);
/* IO */
int (*stderr_tty_p)(void);
@@ -1390,7 +1363,6 @@ typedef struct rb_parser_config_struct {
parser_st_index_t (*literal_hash)(VALUE a);
/* Error (Exception) */
- const char *(*builtin_class_name)(VALUE x);
RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 6, 0)
VALUE (*syntax_error_append)(VALUE, VALUE, int, int, rb_encoding*, const char*, va_list);
RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 2, 3)
@@ -1441,7 +1413,6 @@ typedef struct rb_parser_config_struct {
int (*undef_p)(VALUE);
int (*rtest)(VALUE obj);
int (*nil_p)(VALUE obj);
- int (*flonum_p)(VALUE obj);
VALUE qnil;
VALUE qtrue;
VALUE qfalse;