Document STR_CHILLED flag on RString

[Feature #20205]
This commit is contained in:
Étienne Barrié 2024-04-08 12:41:55 +02:00 коммит произвёл Jean Boussier
Родитель 8217fbf4bd
Коммит 49b31c7680
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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.