|
Ruby 4.0.7p0 (2026-09-15 revision 229531a6cfbf07e3caef30dbac24a2a3f3fed482)
|
Strings that use separated memory region for contents use this pattern. More...
Data Structures | |
| union | [union].as.heap.aux |
| Auxiliary info. More... | |
Data Fields | |
| char * | ptr |
| Pointer to the contents of the string. | |
| union | aux |
Strings that use separated memory region for contents use this pattern.
| char* RString::[struct].as.heap ptr |
Pointer to the contents of the string.
In the old days each string had dedicated memory regions. That is no longer true today, but there still are strings of such properties. This field could be used to point such things.