diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2025-05-15 12:29:54 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2025-05-15 13:26:26 +0200 |
| commit | 3d1b8e7298957711998bfb2e8cce09bcc17e4d46 (patch) | |
| tree | 9fda05644b9c8f27fc9957dfaf5fe0301f2ae713 /spec/ruby/core/array/pack/shared/float.rb | |
| parent | 186e60cb68fe8e49455cffc1955637cabd270c81 (diff) | |
newobj_fill: don't assume RBasic size
The previous implementation assumed `RBasic` size is `2 * sizeof(VALUE)`,
might as well not make assumption and use a proper `sizeof`.
Co-Authored-By: John Hawthorn <john@hawthorn.email>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13348
Diffstat (limited to 'spec/ruby/core/array/pack/shared/float.rb')
0 files changed, 0 insertions, 0 deletions
