diff options
author | Matt Valentine-House <[email protected]> | 2021-03-30 13:34:14 +0100 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2021-05-06 09:18:17 -0400 |
commit | 8bbd3198068f5e8335ab01f0b29cdae225b25b5b (patch) | |
tree | 6c6a0fc987a11c5ba84a541ef0055d1f5a67f491 /include/ruby | |
parent | ddc29e29890f7f1b29effb84929e6856e45632ee (diff) |
Allow newobj_of0 and newobj_slowpath to allocate into multiple heap slots
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4391
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/internal/value_type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/internal/value_type.h b/include/ruby/internal/value_type.h index 620d0b098c..52b284cb4a 100644 --- a/include/ruby/internal/value_type.h +++ b/include/ruby/internal/value_type.h @@ -80,6 +80,7 @@ #define T_TRUE RUBY_T_TRUE #define T_UNDEF RUBY_T_UNDEF #define T_ZOMBIE RUBY_T_ZOMBIE +#define T_PAYLOAD RUBY_T_PAYLOAD #define BUILTIN_TYPE RB_BUILTIN_TYPE #define DYNAMIC_SYM_P RB_DYNAMIC_SYM_P @@ -132,6 +133,7 @@ ruby_value_type { RUBY_T_SYMBOL = 0x14, /**< @see struct ::RSymbol */ RUBY_T_FIXNUM = 0x15, /**< Integers formerly known as Fixnums. */ RUBY_T_UNDEF = 0x16, /**< @see ::RUBY_Qundef */ + RUBY_T_PAYLOAD = 0x17, /**< @see ::RPayload */ RUBY_T_IMEMO = 0x1a, /**< @see struct ::RIMemo */ RUBY_T_NODE = 0x1b, /**< @see struct ::RNode */ |