summaryrefslogtreecommitdiffstats
path: root/Include/pystate.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-10 20:19:01 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-10 20:19:01 (GMT)
commit204751b127b847828c0e5351534b508ebffe697a (patch)
tree43b8b72acaf6c3d8338958e6a310fdd36e300409 /Include/pystate.h
parentede0439cd8e53c50df8be78bef564fd585dc171d (diff)
downloadcpython-204751b127b847828c0e5351534b508ebffe697a.zip
cpython-204751b127b847828c0e5351534b508ebffe697a.tar.gz
cpython-204751b127b847828c0e5351534b508ebffe697a.tar.bz2
Add dict struct member and PyThreadState_GetDict() prototype.
Diffstat (limited to 'Include/pystate.h')
-rw-r--r--Include/pystate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/pystate.h b/Include/pystate.h
index ad91426..443f365 100644
--- a/Include/pystate.h
+++ b/Include/pystate.h
@@ -73,6 +73,8 @@ typedef struct _ts {
int ticker;
int tracing;
+ PyObject *dict;
+
PyObject *sys_profilefunc;
PyObject *sys_tracefunc;
@@ -99,6 +101,7 @@ void PyThreadState_Delete Py_PROTO((PyThreadState *));
PyThreadState *PyThreadState_Get Py_PROTO((void));
PyThreadState *PyThreadState_Swap Py_PROTO((PyThreadState *));
+PyObject *PyThreadState_GetDict Py_PROTO((void));
#ifdef __cplusplus
}