projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c96ec6e
)
Add typedef PyOS_sighandler_t and prototypes for PyOS_getsig() and
author
Guido van Rossum
<guido@python.org>
Sat, 16 Sep 2000 16:31:31 +0000
(16:31 +0000)
committer
Guido van Rossum
<guido@python.org>
Sat, 16 Sep 2000 16:31:31 +0000
(16:31 +0000)
PyOS_setsig().
Include/pythonrun.h
patch
|
blob
|
history
diff --git
a/Include/pythonrun.h
b/Include/pythonrun.h
index 97d6f4f5fdf493cfba23b19f946e655351c4c73f..e8f4f96cce040f0e7a21ee88301f520b461ddff1 100644
(file)
--- 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