[Python-checkins] CVS: python/dist/src/Include pythonrun.h,2.35,2.36
Guido van Rossum
python-dev@python.org
Sat, 16 Sep 2000 09:31:33 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory slayer.i.sourceforge.net:/tmp/cvs-serv31110
Modified Files:
pythonrun.h
Log Message:
Add typedef PyOS_sighandler_t and prototypes for PyOS_getsig() and
PyOS_setsig().
Index: pythonrun.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pythonrun.h,v
retrieving revision 2.35
retrieving revision 2.36
diff -C2 -r2.35 -r2.36
*** pythonrun.h 2000/09/01 23:29:26 2.35
--- pythonrun.h 2000/09/16 16:31:31 2.36
***************
*** 99,102 ****
--- 99,108 ----
#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
}