diff options
Diffstat (limited to 'contrib/tools/python3/src/Include/cpython/interpreteridobject.h')
| -rw-r--r-- | contrib/tools/python3/src/Include/cpython/interpreteridobject.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/tools/python3/src/Include/cpython/interpreteridobject.h b/contrib/tools/python3/src/Include/cpython/interpreteridobject.h new file mode 100644 index 00000000000..67ec5873542 --- /dev/null +++ b/contrib/tools/python3/src/Include/cpython/interpreteridobject.h @@ -0,0 +1,19 @@ +#ifndef Py_CPYTHON_INTERPRETERIDOBJECT_H +# error "this header file must not be included directly" +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Interpreter ID Object */ + +PyAPI_DATA(PyTypeObject) _PyInterpreterID_Type; + +PyAPI_FUNC(PyObject *) _PyInterpreterID_New(int64_t); +PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *); +PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *); + +#ifdef __cplusplus +} +#endif |
