mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +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 ticker;
|
||||||
int tracing;
|
int tracing;
|
||||||
|
|
||||||
|
PyObject *dict;
|
||||||
|
|
||||||
PyObject *sys_profilefunc;
|
PyObject *sys_profilefunc;
|
||||||
PyObject *sys_tracefunc;
|
PyObject *sys_tracefunc;
|
||||||
|
|
||||||
|
@ -99,6 +101,7 @@ void PyThreadState_Delete Py_PROTO((PyThreadState *));
|
||||||
|
|
||||||
PyThreadState *PyThreadState_Get Py_PROTO((void));
|
PyThreadState *PyThreadState_Get Py_PROTO((void));
|
||||||
PyThreadState *PyThreadState_Swap Py_PROTO((PyThreadState *));
|
PyThreadState *PyThreadState_Swap Py_PROTO((PyThreadState *));
|
||||||
|
PyObject *PyThreadState_GetDict Py_PROTO((void));
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue