diff options
author | Christian Tismer <tismer@stackless.com> | 2003-05-23 12:47:36 (GMT) |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2003-05-23 12:47:36 (GMT) |
commit | 661a9e3e5b79e03f912038bd56d8638f9ba5a804 (patch) | |
tree | 5d22062c5969fc3e5b0796ee1baa8b793e1904ea /Include | |
parent | 8bb1ae9c344249e9d22c69cd87077c5d27c3e18f (diff) | |
download | cpython-661a9e3e5b79e03f912038bd56d8638f9ba5a804.zip cpython-661a9e3e5b79e03f912038bd56d8638f9ba5a804.tar.gz cpython-661a9e3e5b79e03f912038bd56d8638f9ba5a804.tar.bz2 |
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.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/object.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/object.h b/Include/object.h index 06e19be..252e99c 100644 --- a/Include/object.h +++ b/Include/object.h @@ -488,9 +488,9 @@ given type object has a specified feature. /* Objects support garbage collection (see objimp.h) */ #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 -#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION (3L<<(sizeof(int)*8-2)) +#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION (3L<<15) #else #define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0 #endif |