From 204751b127b847828c0e5351534b508ebffe697a Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 10 Apr 1998 20:19:01 +0000 Subject: Add dict struct member and PyThreadState_GetDict() prototype. --- Include/pystate.h | 3 +++ 1 file changed, 3 insertions(+) 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 } -- cgit v0.12