summaryrefslogtreecommitdiff
path: root/universal_parser.c
diff options
context:
space:
mode:
authorS-H-GAMELINKS <[email protected]>2024-05-09 23:48:03 +0900
committerNobuyoshi Nakada <[email protected]>2024-06-02 09:50:43 +0900
commit0cc5f77c07d964bb308e29ecb8e5b4ee81aa26d1 (patch)
treebc37110f4259d8a9bd7b58b4f53eeeaf2b517331 /universal_parser.c
parentae203984ff65c5cf3b152c26e3220744e05047d8 (diff)
Remove unused functions from struct rb_parser_config_struct
StringValueCStr has not used in parse.y
Diffstat (limited to 'universal_parser.c')
-rw-r--r--universal_parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/universal_parser.c b/universal_parser.c
index 9381c4285e..d2105a9465 100644
--- a/universal_parser.c
+++ b/universal_parser.c
@@ -131,8 +131,6 @@
#define is_ascii_string p->config->is_ascii_string
#define rb_enc_str_new p->config->enc_str_new
#define rb_str_vcatf p->config->str_vcatf
-#undef StringValueCStr
-#define StringValueCStr(v) p->config->string_value_cstr(&(v))
#define rb_sprintf p->config->rb_sprintf
#undef RSTRING_PTR
#define RSTRING_PTR p->config->rstring_ptr