зеркало из https://github.com/github/ruby.git
refine previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c2115fe8f4
Коммит
fe1ecef302
|
@ -624,18 +624,16 @@ struct RBignum {
|
||||||
#define RFILE(obj) (R_CAST(RFile)(obj))
|
#define RFILE(obj) (R_CAST(RFile)(obj))
|
||||||
#define RVALUES(obj) (R_CAST(RValues)(obj))
|
#define RVALUES(obj) (R_CAST(RValues)(obj))
|
||||||
|
|
||||||
|
#define FL_SINGLETON FL_USER0
|
||||||
#define FL_MARK ((VALUE)(1<<5))
|
#define FL_MARK ((VALUE)(1<<5))
|
||||||
|
#define FL_RESERVED ((VALUE)(1<<6)) /* will be used in the future GC */
|
||||||
/* will be used in the future GC */
|
|
||||||
#define FL_RESERVED ((VALUE)(1<<6))
|
|
||||||
|
|
||||||
#define FL_FINALIZE ((VALUE)(1<<7))
|
#define FL_FINALIZE ((VALUE)(1<<7))
|
||||||
#define FL_TAINT ((VALUE)(1<<8))
|
#define FL_TAINT ((VALUE)(1<<8))
|
||||||
#define FL_EXIVAR ((VALUE)(1<<9))
|
#define FL_EXIVAR ((VALUE)(1<<9))
|
||||||
#define FL_FREEZE ((VALUE)(1<<10))
|
#define FL_FREEZE ((VALUE)(1<<10))
|
||||||
#define FL_SINGLETON ((VALUE)(1<<11))
|
|
||||||
|
|
||||||
#define FL_USHIFT 11
|
#define FL_USHIFT 11
|
||||||
|
|
||||||
#define FL_USER0 ((VALUE)(1<<(FL_USHIFT+0)))
|
#define FL_USER0 ((VALUE)(1<<(FL_USHIFT+0)))
|
||||||
#define FL_USER1 ((VALUE)(1<<(FL_USHIFT+1)))
|
#define FL_USER1 ((VALUE)(1<<(FL_USHIFT+1)))
|
||||||
#define FL_USER2 ((VALUE)(1<<(FL_USHIFT+2)))
|
#define FL_USER2 ((VALUE)(1<<(FL_USHIFT+2)))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче