diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-01-16 16:52:32 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-01-16 16:52:32 +0900 |
| commit | 67d4ceb5255310feefac473265ef713214554708 (patch) | |
| tree | fce9e8a4f8b8d9c8b88715b66c6cc0b370637e9b /include/ruby/internal/core | |
| parent | a797561e25cf64a4db7f231574a5ea62107187e8 (diff) | |
Expand `rb_data_type_t::reserved` for future use
Diffstat (limited to 'include/ruby/internal/core')
| -rw-r--r-- | include/ruby/internal/core/rtypeddata.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ruby/internal/core/rtypeddata.h b/include/ruby/internal/core/rtypeddata.h index 8c0397d80b..ec0794e387 100644 --- a/include/ruby/internal/core/rtypeddata.h +++ b/include/ruby/internal/core/rtypeddata.h @@ -265,6 +265,13 @@ struct rb_data_type_struct { * @internal */ void (*handle_weak_references)(void *); + + /** + * This field is reserved for future extension. For now, it must be + * filled with zeros. + */ + void *reserved[7]; /* For future extension. + This array *must* be filled with ZERO. */ } function; /** |
