diff options
author | Jean Boussier <[email protected]> | 2024-05-30 14:55:32 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2024-06-02 13:53:35 +0200 |
commit | 730e3b2ce01915c4a98b79bb281b2c38a9ff1131 (patch) | |
tree | 62eb09b9359035e92654d266b57a97d69367f2ad /string.c | |
parent | 3eba84fba015f82fe4ed48ca32450c48a771942f (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.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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: |