diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2025-09-08 10:30:09 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2025-09-08 13:24:21 +0200 |
| commit | 03c86b053197f3cd6bece1925e634c1d74d196d0 (patch) | |
| tree | f3a5b60197001d11015a2e4a12556a70af4a3240 /spec/ruby | |
| parent | e5a6e952467eef5444eaf63b77d8c91aa367d4de (diff) | |
Move `IS_TYPED_DATA` in RBasic.flags
Ref: https://github.com/ruby/ruby/pull/14134#issuecomment-3207733725
We can't safely use low-bit pointer tagging anymore because `RTypedData.type`
lines up with `RData.dfree` and there is no aligment guarantee on function
pointers, as evidenced by `memcached` and `gpgme` gems.
We also can't use FL_USER* for this, because extensions may use these
for other purposes.
Using a general flag for this is a bit unfortunate, as general flags
are hard to come by, however I recently freed several of them, and
we still have two or three free ones left.
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
