diff options
author | Guido van Rossum <guido@python.org> | 1998-04-10 20:19:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-10 20:19:01 (GMT) |
commit | 204751b127b847828c0e5351534b508ebffe697a (patch) | |
tree | 43b8b72acaf6c3d8338958e6a310fdd36e300409 /Include | |
parent | ede0439cd8e53c50df8be78bef564fd585dc171d (diff) | |
download | cpython-204751b127b847828c0e5351534b508ebffe697a.zip cpython-204751b127b847828c0e5351534b508ebffe697a.tar.gz cpython-204751b127b847828c0e5351534b508ebffe697a.tar.bz2 |
Add dict struct member and PyThreadState_GetDict() prototype.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pystate.h | 3 |
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 } |