diff options
author | Jean Boussier <[email protected]> | 2025-05-15 12:29:54 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-15 13:26:26 +0200 |
commit | 3d1b8e7298957711998bfb2e8cce09bcc17e4d46 () | |
tree | 9fda05644b9c8f27fc9957dfaf5fe0301f2ae713 /ext/objspace/objspace_dump.c | |
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 <[email protected]>
Notes: Merged: https://.com/ruby/ruby/pull/13348
0 files changed, 0 insertions, 0 deletions