Staging
v0.5.1
https://github.com/python/cpython
Revision 5acc1b5f0b62eef3258e4bc31eba3b9c659108c9 authored by Miss Islington (bot) on 23 September 2020, 03:57:48 UTC, committed by GitHub on 23 September 2020, 03:57:48 UTC
(cherry picked from commit 62e40d8450b9c78346ec3617de7fe3f0ad381510)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
1 parent 2466a7a
Raw File
Tip revision: 5acc1b5f0b62eef3258e4bc31eba3b9c659108c9 authored by Miss Islington (bot) on 23 September 2020, 03:57:48 UTC
bpo-37062: Enum: add extended AutoNumber example (GH-22349) (GH-22369)
Tip revision: 5acc1b5
intrcheck.h

#ifndef Py_INTRCHECK_H
#define Py_INTRCHECK_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
PyAPI_FUNC(void) PyOS_InitInterrupts(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);
PyAPI_FUNC(void) _PySignal_AfterFork(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