File indexing completed on 2025-01-30 10:18:06
0001 #ifndef Py_EMSCRIPTEN_SIGNAL_H
0002 #define Py_EMSCRIPTEN_SIGNAL_H
0003
0004 #if defined(__EMSCRIPTEN__)
0005
0006 void
0007 _Py_CheckEmscriptenSignals(void);
0008
0009 void
0010 _Py_CheckEmscriptenSignalsPeriodically(void);
0011
0012 #define _Py_CHECK_EMSCRIPTEN_SIGNALS() _Py_CheckEmscriptenSignals()
0013
0014 #define _Py_CHECK_EMSCRIPTEN_SIGNALS_PERIODICALLY() _Py_CheckEmscriptenSignalsPeriodically()
0015
0016 extern int Py_EMSCRIPTEN_SIGNAL_HANDLING;
0017
0018 #else
0019
0020 #define _Py_CHECK_EMSCRIPTEN_SIGNALS()
0021 #define _Py_CHECK_EMSCRIPTEN_SIGNALS_PERIODICALLY()
0022
0023 #endif
0024
0025 #endif