commit | 18452a4bf25b35d57a364351eb80def0c262fa6f | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Wed Jul 23 11:39:28 2003 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Wed Jul 23 11:39:28 2003 +0000 |
tree | 9e1f249e1fbdea82a4e0e4bc6d2493f322deaca2 | |
parent | 1fb83c155f7ce0a64a6a27b189144a8b7fc0c3eb [diff] [blame] |
MacPython-OS9 has its own copy of the interrupt handling code. Added PyErr_SetInterrupt() here too.
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c index 51d73ed..3711610 100644 --- a/Mac/Python/macglue.c +++ b/Mac/Python/macglue.c
@@ -283,6 +283,12 @@ #endif /* USE_STACKCHECK */ #if !TARGET_API_MAC_OSX +void +PyErr_SetInterrupt(void) +{ + interrupted = 1; +} + /* The catcher routine (which may not be used for all compilers) */ static RETSIGTYPE intcatcher(sig)