diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2025-07-31 14:25:41 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2025-07-31 21:55:51 +0200 |
| commit | f0c31c5e6492cfc088b8b87a9b86aeb75b22733d (patch) | |
| tree | d4eafa889907c14b07c23a4715aeecd9438bcdf2 /include/ruby/debug.h | |
| parent | 84ee71df4540c9c13854c86d6b30bf8f385780c8 (diff) | |
Get rid of RSHAPE_PARENT in favor of RSHAPE_DIRECT_CHILD_P
`RSHAPE_PARENT` is error prone because it returns a raw untagged
shape_id.
To check if a shape is a direct parent of another, tags should be
discarded. So providing a comparison function is better than exposing
untagged ids.
Diffstat (limited to 'include/ruby/debug.h')
0 files changed, 0 insertions, 0 deletions
