Debian Codegraph @

pypy/module/cpyext/include/pylifecycle.h

raw symbols SCIP
1 #ifndef Py_PYLIFECYCLE_H
2 #define Py_PYLIFECYCLE_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6
7
8 /* Restore signals that the interpreter has called SIG_IGN on to SIG_DFL. */
9 #ifndef Py_LIMITED_API
10 PyAPI_FUNC(void) _Py_RestoreSignals(void);
11 #endif
12
13 #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030B0000
14 PyAPI_DATA(const unsigned long) Py_Version;
15 #endif
16
17
18 /* In Python <= 3.6 there is a variable _Py_Finalizing of type
19 'PyThreadState *'. Emulate it with a macro. */
20 #define _Py_Finalizing \
21 (_Py_IsFinalizing() ? _PyThreadState_UncheckedGet() : NULL)
22
23
24 #ifdef __cplusplus
25 }
26 #endif
27 #endif /* !Py_PYLIFECYCLE_H */