diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1997-06-20 16:25:00 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1997-06-20 16:25:00 (GMT) |
commit | 50ea91976b2357974d276d242a57aab8592cb7f0 (patch) | |
tree | a70eac0868b7cc945e2778fdd39d0e866d8ca4eb /Mac/Include/macglue.h | |
parent | d080eddf8e796b33b874bba37ba9084a299a94ef (diff) | |
download | cpython-50ea91976b2357974d276d242a57aab8592cb7f0.zip cpython-50ea91976b2357974d276d242a57aab8592cb7f0.tar.gz cpython-50ea91976b2357974d276d242a57aab8592cb7f0.tar.bz2 |
Mods for user mainloop event handling
Diffstat (limited to 'Mac/Include/macglue.h')
-rw-r--r-- | Mac/Include/macglue.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h index 4d52fe6..7986071 100644 --- a/Mac/Include/macglue.h +++ b/Mac/Include/macglue.h @@ -71,12 +71,13 @@ extern int PyMac_GetArgv Py_PROTO((char ***, int)); /* Get argc, argv (from maca extern PyObject *PyMac_OSErrException; /* Exception for OSErr */ PyObject *PyMac_GetOSErrException(void); /* Initialize & return it */ -void PyMac_Yield Py_PROTO((void)); /* optional idle routine for mainloop */ void PyMac_GetSchedParams Py_PROTO((PyMacSchedParams *)); /* Get schedulers params */ void PyMac_SetSchedParams Py_PROTO((PyMacSchedParams *)); /* Set schedulers params */ PyObject *PyErr_Mac(PyObject *, int); /* Exception with a mac error */ PyObject *PyMac_Error(OSErr); /* Uses PyMac_GetOSErrException */ -void PyMac_HandleEvent Py_PROTO((EventRecord *, int)); /* Handle one event, if possible */ +int PyMac_HandleEvent Py_PROTO((EventRecord *)); /* Handle one event, possibly in Python */ +void PyMac_HandleEventIntern Py_PROTO((EventRecord *)); /* Handle one event internal only */ +int PyMac_SetEventHandler Py_PROTO((PyObject *)); /* set python-coded event handler */ void PyMac_InitMenuBar(void); /* Setup menu bar as we want it */ void PyMac_RestoreMenuBar(void); /* Restore menu bar for ease of exiting */ |