[Python-checkins] python/dist/src/Mac/Python macglue.c,1.113,1.114
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Wed, 23 Jul 2003 04:39:30 -0700
Update of /cvsroot/python/python/dist/src/Mac/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv11690
Modified Files:
macglue.c
Log Message:
MacPython-OS9 has its own copy of the interrupt handling code. Added PyErr_SetInterrupt() here too.
Index: macglue.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Python/macglue.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -C2 -d -r1.113 -r1.114
*** macglue.c 12 Dec 2002 10:31:54 -0000 1.113
--- macglue.c 23 Jul 2003 11:39:28 -0000 1.114
***************
*** 284,287 ****
--- 284,293 ----
#if !TARGET_API_MAC_OSX
+ void
+ PyErr_SetInterrupt(void)
+ {
+ interrupted = 1;
+ }
+
/* The catcher routine (which may not be used for all compilers) */
static RETSIGTYPE