mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Add dict struct member and PyThreadState_GetDict() prototype.
This commit is contained in:
parent
ede0439cd8
commit
204751b127
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue