mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Add typedef PyOS_sighandler_t and prototypes for PyOS_getsig() and
PyOS_setsig().
This commit is contained in:
parent
c96ec6ef2b
commit
c7247ce269
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue