Staging
v0.5.1
https://github.com/python/cpython
Revision 6d3dfee271b6e4afbfb060c269b034b871e2d1b3 authored by Ethan Furman on 08 December 2020, 20:26:56 UTC, committed by GitHub on 08 December 2020, 20:26:56 UTC
1 parent 37440ee
Raw File
Tip revision: 6d3dfee271b6e4afbfb060c269b034b871e2d1b3 authored by Ethan Furman on 08 December 2020, 20:26:56 UTC
[Enum] reformat and add doc strings (GH-23705)
Tip revision: 6d3dfee
intrcheck.h
#ifndef Py_INTRCHECK_H
#define Py_INTRCHECK_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
#ifdef HAVE_FORK
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000
PyAPI_FUNC(void) PyOS_BeforeFork(void);
PyAPI_FUNC(void) PyOS_AfterFork_Parent(void);
PyAPI_FUNC(void) PyOS_AfterFork_Child(void);
#endif
#endif
/* Deprecated, please use PyOS_AfterFork_Child() instead */
Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void);

#ifndef Py_LIMITED_API
PyAPI_FUNC(int) _PyOS_IsMainThread(void);

#ifdef MS_WINDOWS
/* windows.h is not included by Python.h so use void* instead of HANDLE */
PyAPI_FUNC(void*) _PyOS_SigintEvent(void);
#endif
#endif /* !Py_LIMITED_API */

#ifdef __cplusplus
}
#endif
#endif /* !Py_INTRCHECK_H */
back to top