summaryrefslogtreecommitdiffstats
path: root/Include/pystate.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-13 20:24:05 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-13 20:24:05 (GMT)
commitee0a63bec51088629eb1b3621b805ea697a461fe (patch)
tree2122047efd98b86b9bcd108854111531f0faef29 /Include/pystate.h
parentfb9b7fd5ee265255c18f8c1f6220f7ea27f5ed97 (diff)
downloadcpython-ee0a63bec51088629eb1b3621b805ea697a461fe.zip
cpython-ee0a63bec51088629eb1b3621b805ea697a461fe.tar.gz
cpython-ee0a63bec51088629eb1b3621b805ea697a461fe.tar.bz2
Move 'dict' struct member to end of struct. This ensures binary
compatibility for shared libraries. *** WARNING -- IF YOU BUILT 1.5.1BETA1, DO A "MAKE CLEAN" ***
Diffstat (limited to 'Include/pystate.h')
-rw-r--r--Include/pystate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/pystate.h b/Include/pystate.h
index 443f365..b061fbf 100644
--- a/Include/pystate.h
+++ b/Include/pystate.h
@@ -73,8 +73,6 @@ typedef struct _ts {
int ticker;
int tracing;
- PyObject *dict;
-
PyObject *sys_profilefunc;
PyObject *sys_tracefunc;
@@ -86,6 +84,8 @@ typedef struct _ts {
PyObject *exc_value;
PyObject *exc_traceback;
+ PyObject *dict;
+
/* XXX signal handlers should also be here */
} PyThreadState;