aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authorÉtienne Barrié <etienne.barrie@gmail.com>2024-04-08 12:41:55 +0200
committerJean Boussier <jean.boussier@gmail.com>2024-04-08 13:25:09 +0200
commit49b31c7680a86413853d0c2ce2124d3cba56d334 (patch)
tree09fd814430f908d119831b2360176c14a508218b /string.c
parent8217fbf4bd45fa829fde33bc0b0cfabf34eac50b (diff)
downloadruby-49b31c7680a86413853d0c2ce2124d3cba56d334.tar.gz
Document STR_CHILLED flag on RString
[Feature #20205]
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/string.c b/string.c
index 6c3a95d47b..040228844d 100644
--- a/string.c
+++ b/string.c
@@ -87,6 +87,8 @@ VALUE rb_cSymbol;
* 2: STR_SHARED (equal to ELTS_SHARED)
* The string is shared. The buffer this string points to is owned by
* another string (the shared root).
+ * 3: STR_CHILLED (will be frozen in a future version)
+ * The string appears frozen but can be mutated with a warning.
* 5: STR_SHARED_ROOT
* Other strings may point to the contents of this string. When this
* flag is set, STR_SHARED must not be set.