diff options
Diffstat (limited to 'Mac/Modules/evt/_Evtmodule.c')
-rw-r--r-- | Mac/Modules/evt/_Evtmodule.c | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/Mac/Modules/evt/_Evtmodule.c b/Mac/Modules/evt/_Evtmodule.c index df098fa..ff75403 100644 --- a/Mac/Modules/evt/_Evtmodule.c +++ b/Mac/Modules/evt/_Evtmodule.c @@ -592,93 +592,93 @@ static PyObject *Evt_WaitNextEvent(PyObject *_self, PyObject *_args) static PyMethodDef Evt_methods[] = { {"GetMouse", (PyCFunction)Evt_GetMouse, 1, - "() -> (Point mouseLoc)"}, + PyDoc_STR("() -> (Point mouseLoc)")}, {"Button", (PyCFunction)Evt_Button, 1, - "() -> (Boolean _rv)"}, + PyDoc_STR("() -> (Boolean _rv)")}, {"StillDown", (PyCFunction)Evt_StillDown, 1, - "() -> (Boolean _rv)"}, + PyDoc_STR("() -> (Boolean _rv)")}, {"WaitMouseUp", (PyCFunction)Evt_WaitMouseUp, 1, - "() -> (Boolean _rv)"}, + PyDoc_STR("() -> (Boolean _rv)")}, {"GetCaretTime", (PyCFunction)Evt_GetCaretTime, 1, - "() -> (UInt32 _rv)"}, + PyDoc_STR("() -> (UInt32 _rv)")}, {"GetKeys", (PyCFunction)Evt_GetKeys, 1, - "() -> (KeyMap theKeys)"}, + PyDoc_STR("() -> (KeyMap theKeys)")}, {"GetDblTime", (PyCFunction)Evt_GetDblTime, 1, - "() -> (UInt32 _rv)"}, + PyDoc_STR("() -> (UInt32 _rv)")}, {"SetEventMask", (PyCFunction)Evt_SetEventMask, 1, - "(EventMask value) -> None"}, + PyDoc_STR("(EventMask value) -> None")}, {"GetNextEvent", (PyCFunction)Evt_GetNextEvent, 1, - "(EventMask eventMask) -> (Boolean _rv, EventRecord theEvent)"}, + PyDoc_STR("(EventMask eventMask) -> (Boolean _rv, EventRecord theEvent)")}, {"EventAvail", (PyCFunction)Evt_EventAvail, 1, - "(EventMask eventMask) -> (Boolean _rv, EventRecord theEvent)"}, + PyDoc_STR("(EventMask eventMask) -> (Boolean _rv, EventRecord theEvent)")}, {"PostEvent", (PyCFunction)Evt_PostEvent, 1, - "(EventKind eventNum, UInt32 eventMsg) -> None"}, + PyDoc_STR("(EventKind eventNum, UInt32 eventMsg) -> None")}, #if !TARGET_API_MAC_CARBON {"OSEventAvail", (PyCFunction)Evt_OSEventAvail, 1, - "(EventMask mask) -> (Boolean _rv, EventRecord theEvent)"}, + PyDoc_STR("(EventMask mask) -> (Boolean _rv, EventRecord theEvent)")}, #endif #if !TARGET_API_MAC_CARBON {"GetOSEvent", (PyCFunction)Evt_GetOSEvent, 1, - "(EventMask mask) -> (Boolean _rv, EventRecord theEvent)"}, + PyDoc_STR("(EventMask mask) -> (Boolean _rv, EventRecord theEvent)")}, #endif {"FlushEvents", (PyCFunction)Evt_FlushEvents, 1, - "(EventMask whichMask, EventMask stopMask) -> None"}, + PyDoc_STR("(EventMask whichMask, EventMask stopMask) -> None")}, #if !TARGET_API_MAC_CARBON {"SystemClick", (PyCFunction)Evt_SystemClick, 1, - "(EventRecord theEvent, WindowPtr theWindow) -> None"}, + PyDoc_STR("(EventRecord theEvent, WindowPtr theWindow) -> None")}, #endif #if !TARGET_API_MAC_CARBON {"SystemTask", (PyCFunction)Evt_SystemTask, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, #endif #if !TARGET_API_MAC_CARBON {"SystemEvent", (PyCFunction)Evt_SystemEvent, 1, - "(EventRecord theEvent) -> (Boolean _rv)"}, + PyDoc_STR("(EventRecord theEvent) -> (Boolean _rv)")}, #endif #if TARGET_API_MAC_CARBON {"GetGlobalMouse", (PyCFunction)Evt_GetGlobalMouse, 1, - "() -> (Point globalMouse)"}, + PyDoc_STR("() -> (Point globalMouse)")}, #endif #if TARGET_API_MAC_CARBON {"GetCurrentKeyModifiers", (PyCFunction)Evt_GetCurrentKeyModifiers, 1, - "() -> (UInt32 _rv)"}, + PyDoc_STR("() -> (UInt32 _rv)")}, #endif #if TARGET_API_MAC_CARBON {"CheckEventQueueForUserCancel", (PyCFunction)Evt_CheckEventQueueForUserCancel, 1, - "() -> (Boolean _rv)"}, + PyDoc_STR("() -> (Boolean _rv)")}, #endif {"KeyScript", (PyCFunction)Evt_KeyScript, 1, - "(short code) -> None"}, + PyDoc_STR("(short code) -> None")}, {"IsCmdChar", (PyCFunction)Evt_IsCmdChar, 1, - "(EventRecord event, short test) -> (Boolean _rv)"}, + PyDoc_STR("(EventRecord event, short test) -> (Boolean _rv)")}, {"LMGetKeyThresh", (PyCFunction)Evt_LMGetKeyThresh, 1, - "() -> (SInt16 _rv)"}, + PyDoc_STR("() -> (SInt16 _rv)")}, {"LMSetKeyThresh", (PyCFunction)Evt_LMSetKeyThresh, 1, - "(SInt16 value) -> None"}, + PyDoc_STR("(SInt16 value) -> None")}, {"LMGetKeyRepThresh", (PyCFunction)Evt_LMGetKeyRepThresh, 1, - "() -> (SInt16 _rv)"}, + PyDoc_STR("() -> (SInt16 _rv)")}, {"LMSetKeyRepThresh", (PyCFunction)Evt_LMSetKeyRepThresh, 1, - "(SInt16 value) -> None"}, + PyDoc_STR("(SInt16 value) -> None")}, {"LMGetKbdLast", (PyCFunction)Evt_LMGetKbdLast, 1, - "() -> (UInt8 _rv)"}, + PyDoc_STR("() -> (UInt8 _rv)")}, {"LMSetKbdLast", (PyCFunction)Evt_LMSetKbdLast, 1, - "(UInt8 value) -> None"}, + PyDoc_STR("(UInt8 value) -> None")}, {"LMGetKbdType", (PyCFunction)Evt_LMGetKbdType, 1, - "() -> (UInt8 _rv)"}, + PyDoc_STR("() -> (UInt8 _rv)")}, {"LMSetKbdType", (PyCFunction)Evt_LMSetKbdType, 1, - "(UInt8 value) -> None"}, + PyDoc_STR("(UInt8 value) -> None")}, {"TickCount", (PyCFunction)Evt_TickCount, 1, - "() -> (UInt32 _rv)"}, + PyDoc_STR("() -> (UInt32 _rv)")}, {"WaitNextEvent", (PyCFunction)Evt_WaitNextEvent, 1, - "(EventMask eventMask, UInt32 sleep [,RegionHandle]) -> (Boolean _rv, EventRecord theEvent)"}, + PyDoc_STR("(EventMask eventMask, UInt32 sleep [,RegionHandle]) -> (Boolean _rv, EventRecord theEvent)")}, {NULL, NULL, 0} }; |