@@ -59,7 +59,7 @@ static PyObject *Evt_SetEventMask(_self, _args)
5959 PyObject * _args ;
6060{
6161 PyObject * _res = NULL ;
62- MacOSEventMask value ;
62+ EventMask value ;
6363 if (!PyArg_ParseTuple (_args , "h" ,
6464 & value ))
6565 return NULL ;
@@ -89,7 +89,7 @@ static PyObject *Evt_GetNextEvent(_self, _args)
8989{
9090 PyObject * _res = NULL ;
9191 Boolean _rv ;
92- MacOSEventMask eventMask ;
92+ EventMask eventMask ;
9393 EventRecord theEvent ;
9494 if (!PyArg_ParseTuple (_args , "h" ,
9595 & eventMask ))
@@ -108,7 +108,7 @@ static PyObject *Evt_WaitNextEvent(_self, _args)
108108{
109109 PyObject * _res = NULL ;
110110 Boolean _rv ;
111- MacOSEventMask eventMask ;
111+ EventMask eventMask ;
112112 EventRecord theEvent ;
113113 UInt32 sleep ;
114114 if (!PyArg_ParseTuple (_args , "hl" ,
@@ -131,7 +131,7 @@ static PyObject *Evt_EventAvail(_self, _args)
131131{
132132 PyObject * _res = NULL ;
133133 Boolean _rv ;
134- MacOSEventMask eventMask ;
134+ EventMask eventMask ;
135135 EventRecord theEvent ;
136136 if (!PyArg_ParseTuple (_args , "h" ,
137137 & eventMask ))
@@ -235,7 +235,7 @@ static PyObject *Evt_PostEvent(_self, _args)
235235{
236236 PyObject * _res = NULL ;
237237 OSErr _err ;
238- MacOSEventKind eventNum ;
238+ EventKind eventNum ;
239239 UInt32 eventMsg ;
240240 if (!PyArg_ParseTuple (_args , "hl" ,
241241 & eventNum ,
@@ -255,7 +255,7 @@ static PyObject *Evt_OSEventAvail(_self, _args)
255255{
256256 PyObject * _res = NULL ;
257257 Boolean _rv ;
258- MacOSEventMask mask ;
258+ EventMask mask ;
259259 EventRecord theEvent ;
260260 if (!PyArg_ParseTuple (_args , "h" ,
261261 & mask ))
@@ -274,7 +274,7 @@ static PyObject *Evt_GetOSEvent(_self, _args)
274274{
275275 PyObject * _res = NULL ;
276276 Boolean _rv ;
277- MacOSEventMask mask ;
277+ EventMask mask ;
278278 EventRecord theEvent ;
279279 if (!PyArg_ParseTuple (_args , "h" ,
280280 & mask ))
@@ -292,8 +292,8 @@ static PyObject *Evt_FlushEvents(_self, _args)
292292 PyObject * _args ;
293293{
294294 PyObject * _res = NULL ;
295- MacOSEventMask whichMask ;
296- MacOSEventMask stopMask ;
295+ EventMask whichMask ;
296+ EventMask stopMask ;
297297 if (!PyArg_ParseTuple (_args , "hh" ,
298298 & whichMask ,
299299 & stopMask ))
@@ -356,15 +356,15 @@ static PyMethodDef Evt_methods[] = {
356356 {"GetCaretTime" , (PyCFunction )Evt_GetCaretTime , 1 ,
357357 "() -> (UInt32 _rv)" },
358358 {"SetEventMask" , (PyCFunction )Evt_SetEventMask , 1 ,
359- "(MacOSEventMask value) -> None" },
359+ "(EventMask value) -> None" },
360360 {"GetDblTime" , (PyCFunction )Evt_GetDblTime , 1 ,
361361 "() -> (UInt32 _rv)" },
362362 {"GetNextEvent" , (PyCFunction )Evt_GetNextEvent , 1 ,
363- "(MacOSEventMask eventMask) -> (Boolean _rv, EventRecord theEvent)" },
363+ "(EventMask eventMask) -> (Boolean _rv, EventRecord theEvent)" },
364364 {"WaitNextEvent" , (PyCFunction )Evt_WaitNextEvent , 1 ,
365- "(MacOSEventMask eventMask, UInt32 sleep) -> (Boolean _rv, EventRecord theEvent)" },
365+ "(EventMask eventMask, UInt32 sleep) -> (Boolean _rv, EventRecord theEvent)" },
366366 {"EventAvail" , (PyCFunction )Evt_EventAvail , 1 ,
367- "(MacOSEventMask eventMask) -> (Boolean _rv, EventRecord theEvent)" },
367+ "(EventMask eventMask) -> (Boolean _rv, EventRecord theEvent)" },
368368 {"GetMouse" , (PyCFunction )Evt_GetMouse , 1 ,
369369 "() -> (Point mouseLoc)" },
370370 {"Button" , (PyCFunction )Evt_Button , 1 ,
@@ -378,13 +378,13 @@ static PyMethodDef Evt_methods[] = {
378378 {"TickCount" , (PyCFunction )Evt_TickCount , 1 ,
379379 "() -> (UInt32 _rv)" },
380380 {"PostEvent" , (PyCFunction )Evt_PostEvent , 1 ,
381- "(MacOSEventKind eventNum, UInt32 eventMsg) -> None" },
381+ "(EventKind eventNum, UInt32 eventMsg) -> None" },
382382 {"OSEventAvail" , (PyCFunction )Evt_OSEventAvail , 1 ,
383- "(MacOSEventMask mask) -> (Boolean _rv, EventRecord theEvent)" },
383+ "(EventMask mask) -> (Boolean _rv, EventRecord theEvent)" },
384384 {"GetOSEvent" , (PyCFunction )Evt_GetOSEvent , 1 ,
385- "(MacOSEventMask mask) -> (Boolean _rv, EventRecord theEvent)" },
385+ "(EventMask mask) -> (Boolean _rv, EventRecord theEvent)" },
386386 {"FlushEvents" , (PyCFunction )Evt_FlushEvents , 1 ,
387- "(MacOSEventMask whichMask, MacOSEventMask stopMask) -> None" },
387+ "(EventMask whichMask, EventMask stopMask) -> None" },
388388 {"SystemClick" , (PyCFunction )Evt_SystemClick , 1 ,
389389 "(EventRecord theEvent, WindowPtr theWindow) -> None" },
390390 {"SystemTask" , (PyCFunction )Evt_SystemTask , 1 ,
0 commit comments