Commit 47df81fe authored by Christian Tismer's avatar Christian Tismer

After Raymond's remark, I changed the Stackless bits to

two fixed bits, position 15 and 16. It is right, why should these
be elsewhere.
parent bdebc888
...@@ -488,9 +488,9 @@ given type object has a specified feature. ...@@ -488,9 +488,9 @@ given type object has a specified feature.
/* Objects support garbage collection (see objimp.h) */ /* Objects support garbage collection (see objimp.h) */
#define Py_TPFLAGS_HAVE_GC (1L<<14) #define Py_TPFLAGS_HAVE_GC (1L<<14)
/* These last two bits are preserved for Stackless Python */ /* These two bits are preserved for Stackless Python, next after this is 16 */
#ifdef STACKLESS #ifdef STACKLESS
#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION (3L<<(sizeof(int)*8-2)) #define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION (3L<<15)
#else #else
#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0 #define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment