summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-05-30 14:55:32 +0200
committerJean Boussier <[email protected]>2024-06-02 13:53:35 +0200
commit730e3b2ce01915c4a98b79bb281b2c38a9ff1131 (patch)
tree62eb09b9359035e92654d266b57a97d69367f2ad /string.c
parent3eba84fba015f82fe4ed48ca32450c48a771942f (diff)
Stop exposing `rb_str_chilled_p`
[Feature #20205] Now that chilled strings no longer appear as frozen, there is no need to offer an API to check for chilled strings. We however need to change `rb_check_frozen_internal` to no longer be a macro, as it needs to check for chilled strings.
Diffstat (limited to 'string.c')
-rw-r--r--string.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/string.c b/string.c
index ad1e76cdc9..acad662e4d 100644
--- a/string.c
+++ b/string.c
@@ -1898,12 +1898,6 @@ rb_ec_str_resurrect(struct rb_execution_context_struct *ec, VALUE str, bool chil
return new_str;
}
-bool
-rb_str_chilled_p(VALUE str)
-{
- return CHILLED_STRING_P(str);
-}
-
/*
*
* call-seq: