Kaydet (Commit) c7247ce2 authored tarafından Guido van Rossum's avatar Guido van Rossum

Add typedef PyOS_sighandler_t and prototypes for PyOS_getsig() and

PyOS_setsig().
üst c96ec6ef
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment