From c7247ce2691baeb1ff9e2fad144c84825591642c Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 16 Sep 2000 16:31:31 +0000 Subject: Add typedef PyOS_sighandler_t and prototypes for PyOS_getsig() and PyOS_setsig(). --- Include/pythonrun.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v0.12