mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 03:24:00 +02:00
* gc.c, include/ruby/ruby.h: rename T_DEFERRED to T_ZOMBIE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
889acc8185
commit
fa4c17e712
3 changed files with 13 additions and 9 deletions
|
@ -319,7 +319,7 @@ enum ruby_value_type {
|
|||
RUBY_T_UNDEF = 0x1b,
|
||||
RUBY_T_NODE = 0x1c,
|
||||
RUBY_T_ICLASS = 0x1d,
|
||||
RUBY_T_DEFERRED = 0x1e,
|
||||
RUBY_T_ZOMBIE = 0x1e,
|
||||
|
||||
RUBY_T_MASK = 0x1f
|
||||
};
|
||||
|
@ -348,7 +348,7 @@ enum ruby_value_type {
|
|||
#define T_COMPLEX RUBY_T_COMPLEX
|
||||
#define T_UNDEF RUBY_T_UNDEF
|
||||
#define T_NODE RUBY_T_NODE
|
||||
#define T_DEFERRED RUBY_T_DEFERRED
|
||||
#define T_ZOMBIE RUBY_T_ZOMBIE
|
||||
#define T_MASK RUBY_T_MASK
|
||||
|
||||
#define BUILTIN_TYPE(x) (((struct RBasic*)(x))->flags & T_MASK)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue