mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Added HandleEvent method to macos, so python programs can hand back
events they don't want to handle to stdio
This commit is contained in:
parent
8828fcf738
commit
a76382a6ac
3 changed files with 39 additions and 13 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue