summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-01-27 14:43:25 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-01-27 14:43:25 (GMT)
commitee23d6ec87387310a22522ece073e399362a9f45 (patch)
tree339fd16989999556c34c1e7669e60551ebac0d14 /Mac/Include
parent9fc3989c665e6a51168362af7800d43f33fa904c (diff)
downloadcpython-ee23d6ec87387310a22522ece073e399362a9f45.zip
cpython-ee23d6ec87387310a22522ece073e399362a9f45.tar.gz
cpython-ee23d6ec87387310a22522ece073e399362a9f45.tar.bz2
- Moved interrupt code to macglue.c
- Added possibility to turn off mainloop event handling - Check interrupts even when not handling events - Be more carefulabout which events we want - Use different method to determine fg/bg
Diffstat (limited to 'Mac/Include')
-rw-r--r--Mac/Include/macglue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index 411e1cb..b61a78e 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -28,6 +28,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
char *macstrerror(int); /* strerror with mac errors */
+extern int PyMac_DoYieldEnabled; /* Don't do eventloop when false */
+
extern PyObject *PyMac_OSErrException; /* Exception for OSErr */
PyObject *PyMac_GetOSErrException(void); /* Initialize & return it */