diff options
author | Étienne Barrié <etienne.barrie@gmail.com> | 2024-04-08 12:41:55 +0200 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2024-04-08 13:25:09 +0200 |
commit | 49b31c7680a86413853d0c2ce2124d3cba56d334 (patch) | |
tree | 09fd814430f908d119831b2360176c14a508218b /string.c | |
parent | 8217fbf4bd45fa829fde33bc0b0cfabf34eac50b (diff) | |
download | ruby-49b31c7680a86413853d0c2ce2124d3cba56d334.tar.gz |
Document STR_CHILLED flag on RString
[Feature #20205]
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |