Eric Snow | c11183c | 2019-03-15 16:35:46 -0600 | [diff] [blame] | 1 | #ifndef Py_CPYTHON_INTERPRETERIDOBJECT_H |
| 2 | # error "this header file must not be included directly" |
| 3 | #endif |
| 4 | |
| 5 | #ifdef __cplusplus |
| 6 | extern "C" { |
| 7 | #endif |
| 8 | |
| 9 | /* Interpreter ID Object */ |
| 10 | |
| 11 | PyAPI_DATA(PyTypeObject) _PyInterpreterID_Type; |
| 12 | |
| 13 | PyAPI_FUNC(PyObject *) _PyInterpreterID_New(int64_t); |
| 14 | PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *); |
| 15 | PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *); |
| 16 | |
Eric Snow | c11183c | 2019-03-15 16:35:46 -0600 | [diff] [blame] | 17 | #ifdef __cplusplus |
| 18 | } |
| 19 | #endif |