summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/pythonrun.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index 97d6f4f..e8f4f96 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -98,6 +98,12 @@ extern DL_IMPORT(char) *(*PyOS_ReadlineFunctionPointer)(char *);
DL_IMPORT(int) PyOS_CheckStack(void);
#endif
+/* Signals */
+typedef void (*PyOS_sighandler_t)(int);
+DL_IMPORT(PyOS_sighandler_t) PyOS_getsig(int);
+DL_IMPORT(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t);
+
+
#ifdef __cplusplus
}
#endif