From: Guido van Rossum Date: Sat, 16 Sep 2000 16:31:31 +0000 (+0000) Subject: Add typedef PyOS_sighandler_t and prototypes for PyOS_getsig() and X-Git-Tag: v2.0b2~249 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7247ce2691baeb1ff9e2fad144c84825591642c;p=python Add typedef PyOS_sighandler_t and prototypes for PyOS_getsig() and PyOS_setsig(). --- diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 97d6f4f5fd..e8f4f96cce 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