diff options
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Modules/waste/wastemodule.c | 224 |
1 files changed, 112 insertions, 112 deletions
diff --git a/Mac/Modules/waste/wastemodule.c b/Mac/Modules/waste/wastemodule.c index a1eab0b..dd77cef 100644 --- a/Mac/Modules/waste/wastemodule.c +++ b/Mac/Modules/waste/wastemodule.c @@ -361,23 +361,23 @@ static PyObject *WEOObj_WESetObjectRefCon(WEOObject *_self, PyObject *_args) static PyMethodDef WEOObj_methods[] = { {"WEGetObjectType", (PyCFunction)WEOObj_WEGetObjectType, 1, - "() -> (FlavorType _rv)"}, + PyDoc_STR("() -> (FlavorType _rv)")}, {"WEGetObjectDataHandle", (PyCFunction)WEOObj_WEGetObjectDataHandle, 1, - "() -> (Handle _rv)"}, + PyDoc_STR("() -> (Handle _rv)")}, {"WEGetObjectOwner", (PyCFunction)WEOObj_WEGetObjectOwner, 1, - "() -> (WEReference _rv)"}, + PyDoc_STR("() -> (WEReference _rv)")}, {"WEGetObjectOffset", (PyCFunction)WEOObj_WEGetObjectOffset, 1, - "() -> (SInt32 _rv)"}, + PyDoc_STR("() -> (SInt32 _rv)")}, {"WEGetObjectSize", (PyCFunction)WEOObj_WEGetObjectSize, 1, - "() -> (Point _rv)"}, + PyDoc_STR("() -> (Point _rv)")}, {"WESetObjectSize", (PyCFunction)WEOObj_WESetObjectSize, 1, - "(Point inObjectSize) -> None"}, + PyDoc_STR("(Point inObjectSize) -> None")}, {"WEGetObjectFrame", (PyCFunction)WEOObj_WEGetObjectFrame, 1, - "() -> (LongRect outObjectFrame)"}, + PyDoc_STR("() -> (LongRect outObjectFrame)")}, {"WEGetObjectRefCon", (PyCFunction)WEOObj_WEGetObjectRefCon, 1, - "() -> (SInt32 _rv)"}, + PyDoc_STR("() -> (SInt32 _rv)")}, {"WESetObjectRefCon", (PyCFunction)WEOObj_WESetObjectRefCon, 1, - "(SInt32 inRefCon) -> None"}, + PyDoc_STR("(SInt32 inRefCon) -> None")}, {NULL, NULL, 0} }; @@ -1913,183 +1913,183 @@ static PyObject *wasteObj_WESetTabSize(wasteObject *_self, PyObject *_args) static PyMethodDef wasteObj_methods[] = { {"WEGetText", (PyCFunction)wasteObj_WEGetText, 1, - "() -> (Handle _rv)"}, + PyDoc_STR("() -> (Handle _rv)")}, {"WEGetChar", (PyCFunction)wasteObj_WEGetChar, 1, - "(SInt32 inOffset) -> (SInt16 _rv)"}, + PyDoc_STR("(SInt32 inOffset) -> (SInt16 _rv)")}, {"WEGetTextLength", (PyCFunction)wasteObj_WEGetTextLength, 1, - "() -> (SInt32 _rv)"}, + PyDoc_STR("() -> (SInt32 _rv)")}, {"WEGetSelection", (PyCFunction)wasteObj_WEGetSelection, 1, - "() -> (SInt32 outSelStart, SInt32 outSelEnd)"}, + PyDoc_STR("() -> (SInt32 outSelStart, SInt32 outSelEnd)")}, {"WEGetDestRect", (PyCFunction)wasteObj_WEGetDestRect, 1, - "() -> (LongRect outDestRect)"}, + PyDoc_STR("() -> (LongRect outDestRect)")}, {"WEGetViewRect", (PyCFunction)wasteObj_WEGetViewRect, 1, - "() -> (LongRect outViewRect)"}, + PyDoc_STR("() -> (LongRect outViewRect)")}, {"WEIsActive", (PyCFunction)wasteObj_WEIsActive, 1, - "() -> (Boolean _rv)"}, + PyDoc_STR("() -> (Boolean _rv)")}, {"WEGetClickCount", (PyCFunction)wasteObj_WEGetClickCount, 1, - "() -> (UInt16 _rv)"}, + PyDoc_STR("() -> (UInt16 _rv)")}, {"WESetSelection", (PyCFunction)wasteObj_WESetSelection, 1, - "(SInt32 inSelStart, SInt32 inSelEnd) -> None"}, + PyDoc_STR("(SInt32 inSelStart, SInt32 inSelEnd) -> None")}, {"WESetDestRect", (PyCFunction)wasteObj_WESetDestRect, 1, - "(LongRect inDestRect) -> None"}, + PyDoc_STR("(LongRect inDestRect) -> None")}, {"WESetViewRect", (PyCFunction)wasteObj_WESetViewRect, 1, - "(LongRect inViewRect) -> None"}, + PyDoc_STR("(LongRect inViewRect) -> None")}, {"WEContinuousStyle", (PyCFunction)wasteObj_WEContinuousStyle, 1, - "(WEStyleMode ioMode) -> (Boolean _rv, WEStyleMode ioMode, TextStyle outTextStyle)"}, + PyDoc_STR("(WEStyleMode ioMode) -> (Boolean _rv, WEStyleMode ioMode, TextStyle outTextStyle)")}, {"WECountRuns", (PyCFunction)wasteObj_WECountRuns, 1, - "() -> (SInt32 _rv)"}, + PyDoc_STR("() -> (SInt32 _rv)")}, {"WEOffsetToRun", (PyCFunction)wasteObj_WEOffsetToRun, 1, - "(SInt32 inOffset) -> (SInt32 _rv)"}, + PyDoc_STR("(SInt32 inOffset) -> (SInt32 _rv)")}, {"WEGetRunRange", (PyCFunction)wasteObj_WEGetRunRange, 1, - "(SInt32 inStyleRunIndex) -> (SInt32 outStyleRunStart, SInt32 outStyleRunEnd)"}, + PyDoc_STR("(SInt32 inStyleRunIndex) -> (SInt32 outStyleRunStart, SInt32 outStyleRunEnd)")}, {"WEGetRunInfo", (PyCFunction)wasteObj_WEGetRunInfo, 1, - "(SInt32 inOffset) -> (WERunInfo outStyleRunInfo)"}, + PyDoc_STR("(SInt32 inOffset) -> (WERunInfo outStyleRunInfo)")}, {"WEGetIndRunInfo", (PyCFunction)wasteObj_WEGetIndRunInfo, 1, - "(SInt32 inStyleRunIndex) -> (WERunInfo outStyleRunInfo)"}, + PyDoc_STR("(SInt32 inStyleRunIndex) -> (WERunInfo outStyleRunInfo)")}, {"WEGetRunDirection", (PyCFunction)wasteObj_WEGetRunDirection, 1, - "(SInt32 inOffset) -> (Boolean _rv)"}, + PyDoc_STR("(SInt32 inOffset) -> (Boolean _rv)")}, {"WECountParaRuns", (PyCFunction)wasteObj_WECountParaRuns, 1, - "() -> (SInt32 _rv)"}, + PyDoc_STR("() -> (SInt32 _rv)")}, {"WEOffsetToParaRun", (PyCFunction)wasteObj_WEOffsetToParaRun, 1, - "(SInt32 inOffset) -> (SInt32 _rv)"}, + PyDoc_STR("(SInt32 inOffset) -> (SInt32 _rv)")}, {"WEGetParaRunRange", (PyCFunction)wasteObj_WEGetParaRunRange, 1, - "(SInt32 inParagraphRunIndex) -> (SInt32 outParagraphRunStart, SInt32 outParagraphRunEnd)"}, + PyDoc_STR("(SInt32 inParagraphRunIndex) -> (SInt32 outParagraphRunStart, SInt32 outParagraphRunEnd)")}, {"WECountLines", (PyCFunction)wasteObj_WECountLines, 1, - "() -> (SInt32 _rv)"}, + PyDoc_STR("() -> (SInt32 _rv)")}, {"WEOffsetToLine", (PyCFunction)wasteObj_WEOffsetToLine, 1, - "(SInt32 inOffset) -> (SInt32 _rv)"}, + PyDoc_STR("(SInt32 inOffset) -> (SInt32 _rv)")}, {"WEGetLineRange", (PyCFunction)wasteObj_WEGetLineRange, 1, - "(SInt32 inLineIndex) -> (SInt32 outLineStart, SInt32 outLineEnd)"}, + PyDoc_STR("(SInt32 inLineIndex) -> (SInt32 outLineStart, SInt32 outLineEnd)")}, {"WEGetHeight", (PyCFunction)wasteObj_WEGetHeight, 1, - "(SInt32 inStartLineIndex, SInt32 inEndLineIndex) -> (SInt32 _rv)"}, + PyDoc_STR("(SInt32 inStartLineIndex, SInt32 inEndLineIndex) -> (SInt32 _rv)")}, {"WEGetOffset", (PyCFunction)wasteObj_WEGetOffset, 1, - "(LongPt inPoint) -> (SInt32 _rv, WEEdge outEdge)"}, + PyDoc_STR("(LongPt inPoint) -> (SInt32 _rv, WEEdge outEdge)")}, {"WEGetPoint", (PyCFunction)wasteObj_WEGetPoint, 1, - "(SInt32 inOffset, SInt16 inDirection) -> (LongPt outPoint, SInt16 outLineHeight)"}, + PyDoc_STR("(SInt32 inOffset, SInt16 inDirection) -> (LongPt outPoint, SInt16 outLineHeight)")}, {"WEFindWord", (PyCFunction)wasteObj_WEFindWord, 1, - "(SInt32 inOffset, WEEdge inEdge) -> (SInt32 outWordStart, SInt32 outWordEnd)"}, + PyDoc_STR("(SInt32 inOffset, WEEdge inEdge) -> (SInt32 outWordStart, SInt32 outWordEnd)")}, {"WEFindLine", (PyCFunction)wasteObj_WEFindLine, 1, - "(SInt32 inOffset, WEEdge inEdge) -> (SInt32 outLineStart, SInt32 outLineEnd)"}, + PyDoc_STR("(SInt32 inOffset, WEEdge inEdge) -> (SInt32 outLineStart, SInt32 outLineEnd)")}, {"WEFindParagraph", (PyCFunction)wasteObj_WEFindParagraph, 1, - "(SInt32 inOffset, WEEdge inEdge) -> (SInt32 outParagraphStart, SInt32 outParagraphEnd)"}, + PyDoc_STR("(SInt32 inOffset, WEEdge inEdge) -> (SInt32 outParagraphStart, SInt32 outParagraphEnd)")}, {"WEFind", (PyCFunction)wasteObj_WEFind, 1, - "(char* inKey, SInt32 inKeyLength, TextEncoding inKeyEncoding, OptionBits inMatchOptions, SInt32 inRangeStart, SInt32 inRangeEnd) -> (SInt32 outMatchStart, SInt32 outMatchEnd)"}, + PyDoc_STR("(char* inKey, SInt32 inKeyLength, TextEncoding inKeyEncoding, OptionBits inMatchOptions, SInt32 inRangeStart, SInt32 inRangeEnd) -> (SInt32 outMatchStart, SInt32 outMatchEnd)")}, {"WEStreamRange", (PyCFunction)wasteObj_WEStreamRange, 1, - "(SInt32 inRangeStart, SInt32 inRangeEnd, FlavorType inRequestedType, OptionBits inStreamOptions, Handle outData) -> None"}, + PyDoc_STR("(SInt32 inRangeStart, SInt32 inRangeEnd, FlavorType inRequestedType, OptionBits inStreamOptions, Handle outData) -> None")}, {"WECopyRange", (PyCFunction)wasteObj_WECopyRange, 1, - "(SInt32 inRangeStart, SInt32 inRangeEnd, Handle outText, StScrpHandle outStyles, WESoupHandle outSoup) -> None"}, + PyDoc_STR("(SInt32 inRangeStart, SInt32 inRangeEnd, Handle outText, StScrpHandle outStyles, WESoupHandle outSoup) -> None")}, {"WEGetTextRangeAsUnicode", (PyCFunction)wasteObj_WEGetTextRangeAsUnicode, 1, - "(SInt32 inRangeStart, SInt32 inRangeEnd, Handle outUnicodeText, Handle ioCharFormat, Handle ioParaFormat, TextEncodingVariant inUnicodeVariant, TextEncodingFormat inTransformationFormat, OptionBits inGetOptions) -> None"}, + PyDoc_STR("(SInt32 inRangeStart, SInt32 inRangeEnd, Handle outUnicodeText, Handle ioCharFormat, Handle ioParaFormat, TextEncodingVariant inUnicodeVariant, TextEncodingFormat inTransformationFormat, OptionBits inGetOptions) -> None")}, {"WEGetAlignment", (PyCFunction)wasteObj_WEGetAlignment, 1, - "() -> (WEAlignment _rv)"}, + PyDoc_STR("() -> (WEAlignment _rv)")}, {"WESetAlignment", (PyCFunction)wasteObj_WESetAlignment, 1, - "(WEAlignment inAlignment) -> None"}, + PyDoc_STR("(WEAlignment inAlignment) -> None")}, {"WEGetDirection", (PyCFunction)wasteObj_WEGetDirection, 1, - "() -> (WEDirection _rv)"}, + PyDoc_STR("() -> (WEDirection _rv)")}, {"WESetDirection", (PyCFunction)wasteObj_WESetDirection, 1, - "(WEDirection inDirection) -> None"}, + PyDoc_STR("(WEDirection inDirection) -> None")}, {"WECalText", (PyCFunction)wasteObj_WECalText, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEUpdate", (PyCFunction)wasteObj_WEUpdate, 1, - "(RgnHandle inUpdateRgn) -> None"}, + PyDoc_STR("(RgnHandle inUpdateRgn) -> None")}, {"WEScroll", (PyCFunction)wasteObj_WEScroll, 1, - "(SInt32 inHorizontalOffset, SInt32 inVerticalOffset) -> None"}, + PyDoc_STR("(SInt32 inHorizontalOffset, SInt32 inVerticalOffset) -> None")}, {"WEPinScroll", (PyCFunction)wasteObj_WEPinScroll, 1, - "(SInt32 inHorizontalOffset, SInt32 inVerticalOffset) -> None"}, + PyDoc_STR("(SInt32 inHorizontalOffset, SInt32 inVerticalOffset) -> None")}, {"WESelView", (PyCFunction)wasteObj_WESelView, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEActivate", (PyCFunction)wasteObj_WEActivate, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEDeactivate", (PyCFunction)wasteObj_WEDeactivate, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEKey", (PyCFunction)wasteObj_WEKey, 1, - "(CharParameter inKey, EventModifiers inModifiers) -> None"}, + PyDoc_STR("(CharParameter inKey, EventModifiers inModifiers) -> None")}, {"WEClick", (PyCFunction)wasteObj_WEClick, 1, - "(Point inHitPoint, EventModifiers inModifiers, UInt32 inClickTime) -> None"}, + PyDoc_STR("(Point inHitPoint, EventModifiers inModifiers, UInt32 inClickTime) -> None")}, {"WEAdjustCursor", (PyCFunction)wasteObj_WEAdjustCursor, 1, - "(Point inMouseLoc, RgnHandle ioMouseRgn) -> (Boolean _rv)"}, + PyDoc_STR("(Point inMouseLoc, RgnHandle ioMouseRgn) -> (Boolean _rv)")}, {"WEIdle", (PyCFunction)wasteObj_WEIdle, 1, - "() -> (UInt32 outMaxSleep)"}, + PyDoc_STR("() -> (UInt32 outMaxSleep)")}, {"WEInsert", (PyCFunction)wasteObj_WEInsert, 1, - "(Buffer inTextPtr, StScrpHandle inStyles, WESoupHandle inSoup) -> None"}, + PyDoc_STR("(Buffer inTextPtr, StScrpHandle inStyles, WESoupHandle inSoup) -> None")}, {"WEInsertFormattedText", (PyCFunction)wasteObj_WEInsertFormattedText, 1, - "(Buffer inTextPtr, StScrpHandle inStyles, WESoupHandle inSoup, Handle inParaFormat, Handle inRulerScrap) -> None"}, + PyDoc_STR("(Buffer inTextPtr, StScrpHandle inStyles, WESoupHandle inSoup, Handle inParaFormat, Handle inRulerScrap) -> None")}, {"WEDelete", (PyCFunction)wasteObj_WEDelete, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEUseText", (PyCFunction)wasteObj_WEUseText, 1, - "(Handle inText) -> None"}, + PyDoc_STR("(Handle inText) -> None")}, {"WEChangeCase", (PyCFunction)wasteObj_WEChangeCase, 1, - "(SInt16 inCase) -> None"}, + PyDoc_STR("(SInt16 inCase) -> None")}, {"WESetOneAttribute", (PyCFunction)wasteObj_WESetOneAttribute, 1, - "(SInt32 inRangeStart, SInt32 inRangeEnd, WESelector inAttributeSelector, Buffer inAttributeValue) -> None"}, + PyDoc_STR("(SInt32 inRangeStart, SInt32 inRangeEnd, WESelector inAttributeSelector, Buffer inAttributeValue) -> None")}, {"WESetStyle", (PyCFunction)wasteObj_WESetStyle, 1, - "(WEStyleMode inMode, TextStyle inTextStyle) -> None"}, + PyDoc_STR("(WEStyleMode inMode, TextStyle inTextStyle) -> None")}, {"WEUseStyleScrap", (PyCFunction)wasteObj_WEUseStyleScrap, 1, - "(StScrpHandle inStyles) -> None"}, + PyDoc_STR("(StScrpHandle inStyles) -> None")}, {"WEUndo", (PyCFunction)wasteObj_WEUndo, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WERedo", (PyCFunction)wasteObj_WERedo, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEClearUndo", (PyCFunction)wasteObj_WEClearUndo, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEGetUndoInfo", (PyCFunction)wasteObj_WEGetUndoInfo, 1, - "() -> (WEActionKind _rv, Boolean outRedoFlag)"}, + PyDoc_STR("() -> (WEActionKind _rv, Boolean outRedoFlag)")}, {"WEGetIndUndoInfo", (PyCFunction)wasteObj_WEGetIndUndoInfo, 1, - "(SInt32 inUndoLevel) -> (WEActionKind _rv)"}, + PyDoc_STR("(SInt32 inUndoLevel) -> (WEActionKind _rv)")}, {"WEIsTyping", (PyCFunction)wasteObj_WEIsTyping, 1, - "() -> (Boolean _rv)"}, + PyDoc_STR("() -> (Boolean _rv)")}, {"WEBeginAction", (PyCFunction)wasteObj_WEBeginAction, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEEndAction", (PyCFunction)wasteObj_WEEndAction, 1, - "(WEActionKind inActionKind) -> None"}, + PyDoc_STR("(WEActionKind inActionKind) -> None")}, {"WEGetModCount", (PyCFunction)wasteObj_WEGetModCount, 1, - "() -> (UInt32 _rv)"}, + PyDoc_STR("() -> (UInt32 _rv)")}, {"WEResetModCount", (PyCFunction)wasteObj_WEResetModCount, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEInsertObject", (PyCFunction)wasteObj_WEInsertObject, 1, - "(FlavorType inObjectType, Handle inObjectDataHandle, Point inObjectSize) -> None"}, + PyDoc_STR("(FlavorType inObjectType, Handle inObjectDataHandle, Point inObjectSize) -> None")}, {"WEGetSelectedObject", (PyCFunction)wasteObj_WEGetSelectedObject, 1, - "() -> (WEObjectReference outObject)"}, + PyDoc_STR("() -> (WEObjectReference outObject)")}, {"WEGetObjectAtOffset", (PyCFunction)wasteObj_WEGetObjectAtOffset, 1, - "(SInt32 inOffset) -> (WEObjectReference outObject)"}, + PyDoc_STR("(SInt32 inOffset) -> (WEObjectReference outObject)")}, {"WEFindNextObject", (PyCFunction)wasteObj_WEFindNextObject, 1, - "(SInt32 inOffset) -> (SInt32 _rv, WEObjectReference outObject)"}, + PyDoc_STR("(SInt32 inOffset) -> (SInt32 _rv, WEObjectReference outObject)")}, {"WEUseSoup", (PyCFunction)wasteObj_WEUseSoup, 1, - "(WESoupHandle inSoup) -> None"}, + PyDoc_STR("(WESoupHandle inSoup) -> None")}, {"WECut", (PyCFunction)wasteObj_WECut, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WECopy", (PyCFunction)wasteObj_WECopy, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEPaste", (PyCFunction)wasteObj_WEPaste, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WECanPaste", (PyCFunction)wasteObj_WECanPaste, 1, - "() -> (Boolean _rv)"}, + PyDoc_STR("() -> (Boolean _rv)")}, {"WEGetHiliteRgn", (PyCFunction)wasteObj_WEGetHiliteRgn, 1, - "(SInt32 inRangeStart, SInt32 inRangeEnd) -> (RgnHandle _rv)"}, + PyDoc_STR("(SInt32 inRangeStart, SInt32 inRangeEnd) -> (RgnHandle _rv)")}, {"WECharByte", (PyCFunction)wasteObj_WECharByte, 1, - "(SInt32 inOffset) -> (SInt16 _rv)"}, + PyDoc_STR("(SInt32 inOffset) -> (SInt16 _rv)")}, {"WECharType", (PyCFunction)wasteObj_WECharType, 1, - "(SInt32 inOffset) -> (SInt16 _rv)"}, + PyDoc_STR("(SInt32 inOffset) -> (SInt16 _rv)")}, {"WEStopInlineSession", (PyCFunction)wasteObj_WEStopInlineSession, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEFeatureFlag", (PyCFunction)wasteObj_WEFeatureFlag, 1, - "(SInt16 inFeature, SInt16 inAction) -> (SInt16 _rv)"}, + PyDoc_STR("(SInt16 inFeature, SInt16 inAction) -> (SInt16 _rv)")}, {"WEGetUserInfo", (PyCFunction)wasteObj_WEGetUserInfo, 1, - "(WESelector inUserTag) -> (SInt32 outUserInfo)"}, + PyDoc_STR("(WESelector inUserTag) -> (SInt32 outUserInfo)")}, {"WESetUserInfo", (PyCFunction)wasteObj_WESetUserInfo, 1, - "(WESelector inUserTag, SInt32 inUserInfo) -> None"}, + PyDoc_STR("(WESelector inUserTag, SInt32 inUserInfo) -> None")}, {"WERemoveUserInfo", (PyCFunction)wasteObj_WERemoveUserInfo, 1, - "(WESelector inUserTag) -> None"}, + PyDoc_STR("(WESelector inUserTag) -> None")}, {"WEInstallTabHooks", (PyCFunction)wasteObj_WEInstallTabHooks, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WERemoveTabHooks", (PyCFunction)wasteObj_WERemoveTabHooks, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEIsTabHooks", (PyCFunction)wasteObj_WEIsTabHooks, 1, - "() -> (Boolean _rv)"}, + PyDoc_STR("() -> (Boolean _rv)")}, {"WEGetTabSize", (PyCFunction)wasteObj_WEGetTabSize, 1, - "() -> (SInt16 _rv)"}, + PyDoc_STR("() -> (SInt16 _rv)")}, {"WESetTabSize", (PyCFunction)wasteObj_WESetTabSize, 1, - "(SInt16 tabWidth) -> None"}, + PyDoc_STR("(SInt16 tabWidth) -> None")}, {NULL, NULL, 0} }; @@ -2416,33 +2416,33 @@ static PyObject *waste_WEInstallObjectHandler(PyObject *_self, PyObject *_args) static PyMethodDef waste_methods[] = { {"WENew", (PyCFunction)waste_WENew, 1, - "(LongRect inDestRect, LongRect inViewRect, OptionBits inOptions) -> (WEReference outWE)"}, + PyDoc_STR("(LongRect inDestRect, LongRect inViewRect, OptionBits inOptions) -> (WEReference outWE)")}, {"WEUpdateStyleScrap", (PyCFunction)waste_WEUpdateStyleScrap, 1, - "(StScrpHandle ioStyles, WEFontTableHandle inFontTable) -> None"}, + PyDoc_STR("(StScrpHandle ioStyles, WEFontTableHandle inFontTable) -> None")}, {"WEInstallTSMHandlers", (PyCFunction)waste_WEInstallTSMHandlers, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WERemoveTSMHandlers", (PyCFunction)waste_WERemoveTSMHandlers, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"WEHandleTSMEvent", (PyCFunction)waste_WEHandleTSMEvent, 1, - "(AppleEvent inAppleEvent) -> (AppleEvent ioReply)"}, + PyDoc_STR("(AppleEvent inAppleEvent) -> (AppleEvent ioReply)")}, {"WELongPointToPoint", (PyCFunction)waste_WELongPointToPoint, 1, - "(LongPt inLongPoint) -> (Point outPoint)"}, + PyDoc_STR("(LongPt inLongPoint) -> (Point outPoint)")}, {"WEPointToLongPoint", (PyCFunction)waste_WEPointToLongPoint, 1, - "(Point inPoint) -> (LongPt outLongPoint)"}, + PyDoc_STR("(Point inPoint) -> (LongPt outLongPoint)")}, {"WESetLongRect", (PyCFunction)waste_WESetLongRect, 1, - "(SInt32 inLeft, SInt32 inTop, SInt32 inRight, SInt32 inBottom) -> (LongRect outLongRect)"}, + PyDoc_STR("(SInt32 inLeft, SInt32 inTop, SInt32 inRight, SInt32 inBottom) -> (LongRect outLongRect)")}, {"WELongRectToRect", (PyCFunction)waste_WELongRectToRect, 1, - "(LongRect inLongRect) -> (Rect outRect)"}, + PyDoc_STR("(LongRect inLongRect) -> (Rect outRect)")}, {"WERectToLongRect", (PyCFunction)waste_WERectToLongRect, 1, - "(Rect inRect) -> (LongRect outLongRect)"}, + PyDoc_STR("(Rect inRect) -> (LongRect outLongRect)")}, {"WEOffsetLongRect", (PyCFunction)waste_WEOffsetLongRect, 1, - "(SInt32 inHorizontalOffset, SInt32 inVerticalOffset) -> (LongRect ioLongRect)"}, + PyDoc_STR("(SInt32 inHorizontalOffset, SInt32 inVerticalOffset) -> (LongRect ioLongRect)")}, {"WELongPointInLongRect", (PyCFunction)waste_WELongPointInLongRect, 1, - "(LongPt inLongPoint, LongRect inLongRect) -> (Boolean _rv)"}, + PyDoc_STR("(LongPt inLongPoint, LongRect inLongRect) -> (Boolean _rv)")}, {"STDObjectHandlers", (PyCFunction)waste_STDObjectHandlers, 1, - NULL}, + PyDoc_STR(NULL)}, {"WEInstallObjectHandler", (PyCFunction)waste_WEInstallObjectHandler, 1, - NULL}, + PyDoc_STR(NULL)}, {NULL, NULL, 0} }; |