[DOC] Follow up GH-14470

`IS_TYPED_DATA` is no longer a flag in `type`, and the "embedded" flag
has been shifted accordingly.

ruby/ruby#14470
This commit is contained in:
Nobuyoshi Nakada 2025-10-25 14:37:39 +09:00
parent 10f0abeef1
commit 31e14ac7da
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
Notes: git 2025-10-25 09:19:58 +00:00

View File

@ -360,8 +360,7 @@ struct RTypedData {
/**
* This is a `const rb_data_type_t *const` value, with the low bits set:
*
* 1: Always set, to differentiate RTypedData from RData.
* 2: Set if object is embedded.
* 1: Set if object is embedded.
*
* This field stores various information about how Ruby should handle a
* data. This roughly resembles a Ruby level class (apart from method