mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00

No longer export these 2 internal C API functions: * _PyEval_SignalAsyncExc() * _PyEval_SignalReceived() Add also comments explaining why some internal functions have to be exported, and update existing comments.
28 lines
767 B
C
28 lines
767 B
C
/* Interpreter ID Object */
|
|
|
|
#ifndef Py_INTERNAL_INTERPRETERIDOBJECT_H
|
|
#define Py_INTERNAL_INTERPRETERIDOBJECT_H
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef Py_BUILD_CORE
|
|
# error "this header requires Py_BUILD_CORE define"
|
|
#endif
|
|
|
|
// Export for '_xxsubinterpreters' shared extension
|
|
PyAPI_DATA(PyTypeObject) _PyInterpreterID_Type;
|
|
|
|
// Export for '_xxsubinterpreters' shared extension
|
|
PyAPI_FUNC(PyObject*) _PyInterpreterID_New(int64_t);
|
|
|
|
// Export for '_xxinterpchannels' shared extension
|
|
PyAPI_FUNC(PyObject*) _PyInterpreterState_GetIDObject(PyInterpreterState *);
|
|
|
|
// Export for '_testinternalcapi' shared extension
|
|
PyAPI_FUNC(PyInterpreterState*) _PyInterpreterID_LookUp(PyObject *);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif // !Py_INTERNAL_INTERPRETERIDOBJECT_H
|