Skip to content

Commit

Permalink
Document STR_CHILLED flag on RString
Browse files Browse the repository at this point in the history
[Feature #20205]
  • Loading branch information
etiennebarrie authored and byroot committed Apr 8, 2024
1 parent 8217fbf commit 49b31c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions string.c
Expand Up @@ -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.
Expand Down

0 comments on commit 49b31c7

Please sign in to comment.