Eric Snow | 2ebc5ce | 2017-09-07 23:51:28 -0600 | [diff] [blame] | 1 | #ifndef Py_INTERNAL_CEVAL_H |
| 2 | #define Py_INTERNAL_CEVAL_H |
| 3 | #ifdef __cplusplus |
| 4 | extern "C" { |
| 5 | #endif |
| 6 | |
Victor Stinner | 5c75f37 | 2019-04-17 23:02:26 +0200 | [diff] [blame] | 7 | #ifndef Py_BUILD_CORE |
| 8 | # error "this header requires Py_BUILD_CORE define" |
Victor Stinner | 130893d | 2018-11-09 13:03:37 +0100 | [diff] [blame] | 9 | #endif |
| 10 | |
Victor Stinner | 27e2d1f | 2018-11-01 00:52:28 +0100 | [diff] [blame] | 11 | #include "pycore_atomic.h" |
Victor Stinner | 09532fe | 2019-05-10 23:39:09 +0200 | [diff] [blame] | 12 | #include "pycore_pystate.h" |
Eric Snow | 2ebc5ce | 2017-09-07 23:51:28 -0600 | [diff] [blame] | 13 | #include "pythread.h" |
| 14 | |
Victor Stinner | 09532fe | 2019-05-10 23:39:09 +0200 | [diff] [blame] | 15 | PyAPI_FUNC(void) _Py_FinishPendingCalls(_PyRuntimeState *runtime); |
Eric Snow | 2ebc5ce | 2017-09-07 23:51:28 -0600 | [diff] [blame] | 16 | PyAPI_FUNC(void) _PyEval_Initialize(struct _ceval_runtime_state *); |
Victor Stinner | 09532fe | 2019-05-10 23:39:09 +0200 | [diff] [blame] | 17 | PyAPI_FUNC(void) _PyEval_FiniThreads( |
| 18 | struct _ceval_runtime_state *ceval); |
| 19 | PyAPI_FUNC(void) _PyEval_SignalReceived( |
| 20 | struct _ceval_runtime_state *ceval); |
| 21 | PyAPI_FUNC(int) _PyEval_AddPendingCall( |
| 22 | struct _ceval_runtime_state *ceval, |
| 23 | int (*func)(void *), |
| 24 | void *arg); |
| 25 | PyAPI_FUNC(void) _PyEval_SignalAsyncExc( |
| 26 | struct _ceval_runtime_state *ceval); |
Victor Stinner | d5d9e81 | 2019-05-13 12:35:37 +0200 | [diff] [blame^] | 27 | PyAPI_FUNC(void) _PyEval_ReInitThreads( |
| 28 | _PyRuntimeState *runtime); |
Eric Snow | 2ebc5ce | 2017-09-07 23:51:28 -0600 | [diff] [blame] | 29 | |
Eric Snow | 2ebc5ce | 2017-09-07 23:51:28 -0600 | [diff] [blame] | 30 | #ifdef __cplusplus |
| 31 | } |
| 32 | #endif |
| 33 | #endif /* !Py_INTERNAL_CEVAL_H */ |