diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-07 10:18:09 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-07 10:18:09 +0000 |
commit | fe1ecef30270651277916c3d86fe6f498266307f (patch) | |
tree | eccb5551cd944cc424d729c969fd96d82e057d7f /include/ruby/ruby.h | |
parent | c2115fe8f4c5f11f11a9b8312ffa1154c7dda440 (diff) | |
download | ruby-fe1ecef30270651277916c3d86fe6f498266307f.tar.gz |
refine previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/ruby.h')
-rw-r--r-- | include/ruby/ruby.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 4311eb2896..6493a0c501 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -624,18 +624,16 @@ struct RBignum { #define RFILE(obj) (R_CAST(RFile)(obj)) #define RVALUES(obj) (R_CAST(RValues)(obj)) +#define FL_SINGLETON FL_USER0 #define FL_MARK ((VALUE)(1<<5)) - -/* will be used in the future GC */ -#define FL_RESERVED ((VALUE)(1<<6)) - +#define FL_RESERVED ((VALUE)(1<<6)) /* will be used in the future GC */ #define FL_FINALIZE ((VALUE)(1<<7)) #define FL_TAINT ((VALUE)(1<<8)) #define FL_EXIVAR ((VALUE)(1<<9)) #define FL_FREEZE ((VALUE)(1<<10)) -#define FL_SINGLETON ((VALUE)(1<<11)) #define FL_USHIFT 11 + #define FL_USER0 ((VALUE)(1<<(FL_USHIFT+0))) #define FL_USER1 ((VALUE)(1<<(FL_USHIFT+1))) #define FL_USER2 ((VALUE)(1<<(FL_USHIFT+2))) |