From 18452a4bf25b35d57a364351eb80def0c262fa6f Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 23 Jul 2003 11:39:28 +0000 Subject: MacPython-OS9 has its own copy of the interrupt handling code. Added PyErr_SetInterrupt() here too. --- Mac/Python/macglue.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 @@ PyOS_CheckStack() #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) -- cgit v0.12