diff options
author | Guido van Rossum <guido@python.org> | 2000-09-16 16:31:31 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-09-16 16:31:31 +0000 |
commit | abd9e63f2e57ba354ec2b0e23544e0ae73e5ceaf (patch) | |
tree | 003e4271bf1769723e19f4d8c712884f700384ed /Include | |
parent | 5fd1b701c08eb05f2196ed38fdf1c189fe3798df (diff) | |
download | cpython-abd9e63f2e57ba354ec2b0e23544e0ae73e5ceaf.tar.gz |
Add typedef PyOS_sighandler_t and prototypes for PyOS_getsig() and
PyOS_setsig().
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pythonrun.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |