Add dict struct member and PyThreadState_GetDict() prototype.

This commit is contained in:
Guido van Rossum 1998-04-10 20:19:01 +00:00
parent ede0439cd8
commit 204751b127

View file

@ -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
}