summaryrefslogtreecommitdiff
path: root/include/ruby/version.h
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-11-01 10:49:14 -0400
committerPeter Zhu <peter@peterzhu.ca>2025-11-02 09:17:17 -0500
commitdba4c9fbe79bdc3b7679330760d2b27d29a9911a (patch)
tree84d59466b7cbcf16dd8de581594b1681e63e4379 /include/ruby/version.h
parentbd51b20c50a9a05c9fcea8025b223892eed4165b (diff)
Fix string allocation when slot size < 40 bytes
We need to allocate at least sizeof(struct RString) when the string is embedded on garbage collectors that support slot sizes less than 40 bytes.
Diffstat (limited to 'include/ruby/version.h')
0 files changed, 0 insertions, 0 deletions