summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-02-02 14:25:56 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-02-02 14:25:56 (GMT)
commita76382a6ac56b35def05f23740e55dc064eb15e7 (patch)
tree422f6be5564e54f4d9e9a58a0903d7b2f66606c0 /Mac/Include
parent8828fcf7383aa38539fd331d9b93138c156f8810 (diff)
downloadcpython-a76382a6ac56b35def05f23740e55dc064eb15e7.zip
cpython-a76382a6ac56b35def05f23740e55dc064eb15e7.tar.gz
cpython-a76382a6ac56b35def05f23740e55dc064eb15e7.tar.bz2
Added HandleEvent method to macos, so python programs can hand back
events they don't want to handle to stdio
Diffstat (limited to 'Mac/Include')
-rw-r--r--Mac/Include/macglue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index b61a78e..7944471 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -37,7 +37,8 @@ int PyMac_Idle Py_PROTO((void)); /* Idle routine */
void PyMac_Yield Py_PROTO((void)); /* optional idle routine for mainloop */
void PyMac_SetYield Py_PROTO((long, long, long, long)); /* Set timeouts */
PyObject *PyErr_Mac(PyObject *, int); /* Exception with a mac error */
-PyObject *PyMac_Error(OSErr); /* Uses PyMac_GetOSErrException */
+PyObject *PyMac_Error(OSErr); /* Uses PyMac_GetOSErrException */
+void PyMac_HandleEvent Py_PROTO((EventRecord *)); /* Handle one event, if possible */
int PyMac_Idle(void); /* Idle routine */