[DOC] Update flags doc for strings
The length of an embedded string is no longer in the flags.
This commit is contained in:
parent
542c70aab7
commit
1a7ee14578
1
string.c
1
string.c
@ -82,7 +82,6 @@ VALUE rb_cSymbol;
|
||||
*
|
||||
* 1: RSTRING_NOEMBED
|
||||
* 2: STR_SHARED (== ELTS_SHARED)
|
||||
* 2-6: RSTRING_EMBED_LEN (5 bits == 32)
|
||||
* 5: STR_SHARED_ROOT (RSTRING_NOEMBED==1 && STR_SHARED == 0, there may be
|
||||
* other strings that rely on this string's buffer)
|
||||
* 6: STR_BORROWED (when RSTRING_NOEMBED==1 && klass==0, unsafe to recycle
|
||||
|
Loading…
x
Reference in New Issue
Block a user