summaryrefslogtreecommitdiff
path: root/ext/objspace/objspace_dump.c
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-05-15 12:29:54 +0200
committerJean Boussier <[email protected]>2025-05-15 13:26:26 +0200
commit3d1b8e7298957711998bfb2e8cce09bcc17e4d46 ()
tree9fda05644b9c8f27fc9957dfaf5fe0301f2ae713 /ext/objspace/objspace_dump.c
parent186e60cb68fe8e49455cffc1955637cabd270c81 (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