@@ -361,23 +361,23 @@ static PyObject *WEOObj_WESetObjectRefCon(WEOObject *_self, PyObject *_args)
361361
362362static PyMethodDef WEOObj_methods [] = {
363363 {"WEGetObjectType" , (PyCFunction )WEOObj_WEGetObjectType , 1 ,
364- "() -> (FlavorType _rv)" },
364+ PyDoc_STR ( "() -> (FlavorType _rv)" ) },
365365 {"WEGetObjectDataHandle" , (PyCFunction )WEOObj_WEGetObjectDataHandle , 1 ,
366- "() -> (Handle _rv)" },
366+ PyDoc_STR ( "() -> (Handle _rv)" ) },
367367 {"WEGetObjectOwner" , (PyCFunction )WEOObj_WEGetObjectOwner , 1 ,
368- "() -> (WEReference _rv)" },
368+ PyDoc_STR ( "() -> (WEReference _rv)" ) },
369369 {"WEGetObjectOffset" , (PyCFunction )WEOObj_WEGetObjectOffset , 1 ,
370- "() -> (SInt32 _rv)" },
370+ PyDoc_STR ( "() -> (SInt32 _rv)" ) },
371371 {"WEGetObjectSize" , (PyCFunction )WEOObj_WEGetObjectSize , 1 ,
372- "() -> (Point _rv)" },
372+ PyDoc_STR ( "() -> (Point _rv)" ) },
373373 {"WESetObjectSize" , (PyCFunction )WEOObj_WESetObjectSize , 1 ,
374- "(Point inObjectSize) -> None" },
374+ PyDoc_STR ( "(Point inObjectSize) -> None" ) },
375375 {"WEGetObjectFrame" , (PyCFunction )WEOObj_WEGetObjectFrame , 1 ,
376- "() -> (LongRect outObjectFrame)" },
376+ PyDoc_STR ( "() -> (LongRect outObjectFrame)" ) },
377377 {"WEGetObjectRefCon" , (PyCFunction )WEOObj_WEGetObjectRefCon , 1 ,
378- "() -> (SInt32 _rv)" },
378+ PyDoc_STR ( "() -> (SInt32 _rv)" ) },
379379 {"WESetObjectRefCon" , (PyCFunction )WEOObj_WESetObjectRefCon , 1 ,
380- "(SInt32 inRefCon) -> None" },
380+ PyDoc_STR ( "(SInt32 inRefCon) -> None" ) },
381381 {NULL , NULL , 0 }
382382};
383383
@@ -1913,183 +1913,183 @@ static PyObject *wasteObj_WESetTabSize(wasteObject *_self, PyObject *_args)
19131913
19141914static PyMethodDef wasteObj_methods [] = {
19151915 {"WEGetText" , (PyCFunction )wasteObj_WEGetText , 1 ,
1916- "() -> (Handle _rv)" },
1916+ PyDoc_STR ( "() -> (Handle _rv)" ) },
19171917 {"WEGetChar" , (PyCFunction )wasteObj_WEGetChar , 1 ,
1918- "(SInt32 inOffset) -> (SInt16 _rv)" },
1918+ PyDoc_STR ( "(SInt32 inOffset) -> (SInt16 _rv)" ) },
19191919 {"WEGetTextLength" , (PyCFunction )wasteObj_WEGetTextLength , 1 ,
1920- "() -> (SInt32 _rv)" },
1920+ PyDoc_STR ( "() -> (SInt32 _rv)" ) },
19211921 {"WEGetSelection" , (PyCFunction )wasteObj_WEGetSelection , 1 ,
1922- "() -> (SInt32 outSelStart, SInt32 outSelEnd)" },
1922+ PyDoc_STR ( "() -> (SInt32 outSelStart, SInt32 outSelEnd)" ) },
19231923 {"WEGetDestRect" , (PyCFunction )wasteObj_WEGetDestRect , 1 ,
1924- "() -> (LongRect outDestRect)" },
1924+ PyDoc_STR ( "() -> (LongRect outDestRect)" ) },
19251925 {"WEGetViewRect" , (PyCFunction )wasteObj_WEGetViewRect , 1 ,
1926- "() -> (LongRect outViewRect)" },
1926+ PyDoc_STR ( "() -> (LongRect outViewRect)" ) },
19271927 {"WEIsActive" , (PyCFunction )wasteObj_WEIsActive , 1 ,
1928- "() -> (Boolean _rv)" },
1928+ PyDoc_STR ( "() -> (Boolean _rv)" ) },
19291929 {"WEGetClickCount" , (PyCFunction )wasteObj_WEGetClickCount , 1 ,
1930- "() -> (UInt16 _rv)" },
1930+ PyDoc_STR ( "() -> (UInt16 _rv)" ) },
19311931 {"WESetSelection" , (PyCFunction )wasteObj_WESetSelection , 1 ,
1932- "(SInt32 inSelStart, SInt32 inSelEnd) -> None" },
1932+ PyDoc_STR ( "(SInt32 inSelStart, SInt32 inSelEnd) -> None" ) },
19331933 {"WESetDestRect" , (PyCFunction )wasteObj_WESetDestRect , 1 ,
1934- "(LongRect inDestRect) -> None" },
1934+ PyDoc_STR ( "(LongRect inDestRect) -> None" ) },
19351935 {"WESetViewRect" , (PyCFunction )wasteObj_WESetViewRect , 1 ,
1936- "(LongRect inViewRect) -> None" },
1936+ PyDoc_STR ( "(LongRect inViewRect) -> None" ) },
19371937 {"WEContinuousStyle" , (PyCFunction )wasteObj_WEContinuousStyle , 1 ,
1938- "(WEStyleMode ioMode) -> (Boolean _rv, WEStyleMode ioMode, TextStyle outTextStyle)" },
1938+ PyDoc_STR ( "(WEStyleMode ioMode) -> (Boolean _rv, WEStyleMode ioMode, TextStyle outTextStyle)" ) },
19391939 {"WECountRuns" , (PyCFunction )wasteObj_WECountRuns , 1 ,
1940- "() -> (SInt32 _rv)" },
1940+ PyDoc_STR ( "() -> (SInt32 _rv)" ) },
19411941 {"WEOffsetToRun" , (PyCFunction )wasteObj_WEOffsetToRun , 1 ,
1942- "(SInt32 inOffset) -> (SInt32 _rv)" },
1942+ PyDoc_STR ( "(SInt32 inOffset) -> (SInt32 _rv)" ) },
19431943 {"WEGetRunRange" , (PyCFunction )wasteObj_WEGetRunRange , 1 ,
1944- "(SInt32 inStyleRunIndex) -> (SInt32 outStyleRunStart, SInt32 outStyleRunEnd)" },
1944+ PyDoc_STR ( "(SInt32 inStyleRunIndex) -> (SInt32 outStyleRunStart, SInt32 outStyleRunEnd)" ) },
19451945 {"WEGetRunInfo" , (PyCFunction )wasteObj_WEGetRunInfo , 1 ,
1946- "(SInt32 inOffset) -> (WERunInfo outStyleRunInfo)" },
1946+ PyDoc_STR ( "(SInt32 inOffset) -> (WERunInfo outStyleRunInfo)" ) },
19471947 {"WEGetIndRunInfo" , (PyCFunction )wasteObj_WEGetIndRunInfo , 1 ,
1948- "(SInt32 inStyleRunIndex) -> (WERunInfo outStyleRunInfo)" },
1948+ PyDoc_STR ( "(SInt32 inStyleRunIndex) -> (WERunInfo outStyleRunInfo)" ) },
19491949 {"WEGetRunDirection" , (PyCFunction )wasteObj_WEGetRunDirection , 1 ,
1950- "(SInt32 inOffset) -> (Boolean _rv)" },
1950+ PyDoc_STR ( "(SInt32 inOffset) -> (Boolean _rv)" ) },
19511951 {"WECountParaRuns" , (PyCFunction )wasteObj_WECountParaRuns , 1 ,
1952- "() -> (SInt32 _rv)" },
1952+ PyDoc_STR ( "() -> (SInt32 _rv)" ) },
19531953 {"WEOffsetToParaRun" , (PyCFunction )wasteObj_WEOffsetToParaRun , 1 ,
1954- "(SInt32 inOffset) -> (SInt32 _rv)" },
1954+ PyDoc_STR ( "(SInt32 inOffset) -> (SInt32 _rv)" ) },
19551955 {"WEGetParaRunRange" , (PyCFunction )wasteObj_WEGetParaRunRange , 1 ,
1956- "(SInt32 inParagraphRunIndex) -> (SInt32 outParagraphRunStart, SInt32 outParagraphRunEnd)" },
1956+ PyDoc_STR ( "(SInt32 inParagraphRunIndex) -> (SInt32 outParagraphRunStart, SInt32 outParagraphRunEnd)" ) },
19571957 {"WECountLines" , (PyCFunction )wasteObj_WECountLines , 1 ,
1958- "() -> (SInt32 _rv)" },
1958+ PyDoc_STR ( "() -> (SInt32 _rv)" ) },
19591959 {"WEOffsetToLine" , (PyCFunction )wasteObj_WEOffsetToLine , 1 ,
1960- "(SInt32 inOffset) -> (SInt32 _rv)" },
1960+ PyDoc_STR ( "(SInt32 inOffset) -> (SInt32 _rv)" ) },
19611961 {"WEGetLineRange" , (PyCFunction )wasteObj_WEGetLineRange , 1 ,
1962- "(SInt32 inLineIndex) -> (SInt32 outLineStart, SInt32 outLineEnd)" },
1962+ PyDoc_STR ( "(SInt32 inLineIndex) -> (SInt32 outLineStart, SInt32 outLineEnd)" ) },
19631963 {"WEGetHeight" , (PyCFunction )wasteObj_WEGetHeight , 1 ,
1964- "(SInt32 inStartLineIndex, SInt32 inEndLineIndex) -> (SInt32 _rv)" },
1964+ PyDoc_STR ( "(SInt32 inStartLineIndex, SInt32 inEndLineIndex) -> (SInt32 _rv)" ) },
19651965 {"WEGetOffset" , (PyCFunction )wasteObj_WEGetOffset , 1 ,
1966- "(LongPt inPoint) -> (SInt32 _rv, WEEdge outEdge)" },
1966+ PyDoc_STR ( "(LongPt inPoint) -> (SInt32 _rv, WEEdge outEdge)" ) },
19671967 {"WEGetPoint" , (PyCFunction )wasteObj_WEGetPoint , 1 ,
1968- "(SInt32 inOffset, SInt16 inDirection) -> (LongPt outPoint, SInt16 outLineHeight)" },
1968+ PyDoc_STR ( "(SInt32 inOffset, SInt16 inDirection) -> (LongPt outPoint, SInt16 outLineHeight)" ) },
19691969 {"WEFindWord" , (PyCFunction )wasteObj_WEFindWord , 1 ,
1970- "(SInt32 inOffset, WEEdge inEdge) -> (SInt32 outWordStart, SInt32 outWordEnd)" },
1970+ PyDoc_STR ( "(SInt32 inOffset, WEEdge inEdge) -> (SInt32 outWordStart, SInt32 outWordEnd)" ) },
19711971 {"WEFindLine" , (PyCFunction )wasteObj_WEFindLine , 1 ,
1972- "(SInt32 inOffset, WEEdge inEdge) -> (SInt32 outLineStart, SInt32 outLineEnd)" },
1972+ PyDoc_STR ( "(SInt32 inOffset, WEEdge inEdge) -> (SInt32 outLineStart, SInt32 outLineEnd)" ) },
19731973 {"WEFindParagraph" , (PyCFunction )wasteObj_WEFindParagraph , 1 ,
1974- "(SInt32 inOffset, WEEdge inEdge) -> (SInt32 outParagraphStart, SInt32 outParagraphEnd)" },
1974+ PyDoc_STR ( "(SInt32 inOffset, WEEdge inEdge) -> (SInt32 outParagraphStart, SInt32 outParagraphEnd)" ) },
19751975 {"WEFind" , (PyCFunction )wasteObj_WEFind , 1 ,
1976- "(char* inKey, SInt32 inKeyLength, TextEncoding inKeyEncoding, OptionBits inMatchOptions, SInt32 inRangeStart, SInt32 inRangeEnd) -> (SInt32 outMatchStart, SInt32 outMatchEnd)" },
1976+ PyDoc_STR ( "(char* inKey, SInt32 inKeyLength, TextEncoding inKeyEncoding, OptionBits inMatchOptions, SInt32 inRangeStart, SInt32 inRangeEnd) -> (SInt32 outMatchStart, SInt32 outMatchEnd)" ) },
19771977 {"WEStreamRange" , (PyCFunction )wasteObj_WEStreamRange , 1 ,
1978- "(SInt32 inRangeStart, SInt32 inRangeEnd, FlavorType inRequestedType, OptionBits inStreamOptions, Handle outData) -> None" },
1978+ PyDoc_STR ( "(SInt32 inRangeStart, SInt32 inRangeEnd, FlavorType inRequestedType, OptionBits inStreamOptions, Handle outData) -> None" ) },
19791979 {"WECopyRange" , (PyCFunction )wasteObj_WECopyRange , 1 ,
1980- "(SInt32 inRangeStart, SInt32 inRangeEnd, Handle outText, StScrpHandle outStyles, WESoupHandle outSoup) -> None" },
1980+ PyDoc_STR ( "(SInt32 inRangeStart, SInt32 inRangeEnd, Handle outText, StScrpHandle outStyles, WESoupHandle outSoup) -> None" ) },
19811981 {"WEGetTextRangeAsUnicode" , (PyCFunction )wasteObj_WEGetTextRangeAsUnicode , 1 ,
1982- "(SInt32 inRangeStart, SInt32 inRangeEnd, Handle outUnicodeText, Handle ioCharFormat, Handle ioParaFormat, TextEncodingVariant inUnicodeVariant, TextEncodingFormat inTransformationFormat, OptionBits inGetOptions) -> None" },
1982+ PyDoc_STR ( "(SInt32 inRangeStart, SInt32 inRangeEnd, Handle outUnicodeText, Handle ioCharFormat, Handle ioParaFormat, TextEncodingVariant inUnicodeVariant, TextEncodingFormat inTransformationFormat, OptionBits inGetOptions) -> None" ) },
19831983 {"WEGetAlignment" , (PyCFunction )wasteObj_WEGetAlignment , 1 ,
1984- "() -> (WEAlignment _rv)" },
1984+ PyDoc_STR ( "() -> (WEAlignment _rv)" ) },
19851985 {"WESetAlignment" , (PyCFunction )wasteObj_WESetAlignment , 1 ,
1986- "(WEAlignment inAlignment) -> None" },
1986+ PyDoc_STR ( "(WEAlignment inAlignment) -> None" ) },
19871987 {"WEGetDirection" , (PyCFunction )wasteObj_WEGetDirection , 1 ,
1988- "() -> (WEDirection _rv)" },
1988+ PyDoc_STR ( "() -> (WEDirection _rv)" ) },
19891989 {"WESetDirection" , (PyCFunction )wasteObj_WESetDirection , 1 ,
1990- "(WEDirection inDirection) -> None" },
1990+ PyDoc_STR ( "(WEDirection inDirection) -> None" ) },
19911991 {"WECalText" , (PyCFunction )wasteObj_WECalText , 1 ,
1992- "() -> None" },
1992+ PyDoc_STR ( "() -> None" ) },
19931993 {"WEUpdate" , (PyCFunction )wasteObj_WEUpdate , 1 ,
1994- "(RgnHandle inUpdateRgn) -> None" },
1994+ PyDoc_STR ( "(RgnHandle inUpdateRgn) -> None" ) },
19951995 {"WEScroll" , (PyCFunction )wasteObj_WEScroll , 1 ,
1996- "(SInt32 inHorizontalOffset, SInt32 inVerticalOffset) -> None" },
1996+ PyDoc_STR ( "(SInt32 inHorizontalOffset, SInt32 inVerticalOffset) -> None" ) },
19971997 {"WEPinScroll" , (PyCFunction )wasteObj_WEPinScroll , 1 ,
1998- "(SInt32 inHorizontalOffset, SInt32 inVerticalOffset) -> None" },
1998+ PyDoc_STR ( "(SInt32 inHorizontalOffset, SInt32 inVerticalOffset) -> None" ) },
19991999 {"WESelView" , (PyCFunction )wasteObj_WESelView , 1 ,
2000- "() -> None" },
2000+ PyDoc_STR ( "() -> None" ) },
20012001 {"WEActivate" , (PyCFunction )wasteObj_WEActivate , 1 ,
2002- "() -> None" },
2002+ PyDoc_STR ( "() -> None" ) },
20032003 {"WEDeactivate" , (PyCFunction )wasteObj_WEDeactivate , 1 ,
2004- "() -> None" },
2004+ PyDoc_STR ( "() -> None" ) },
20052005 {"WEKey" , (PyCFunction )wasteObj_WEKey , 1 ,
2006- "(CharParameter inKey, EventModifiers inModifiers) -> None" },
2006+ PyDoc_STR ( "(CharParameter inKey, EventModifiers inModifiers) -> None" ) },
20072007 {"WEClick" , (PyCFunction )wasteObj_WEClick , 1 ,
2008- "(Point inHitPoint, EventModifiers inModifiers, UInt32 inClickTime) -> None" },
2008+ PyDoc_STR ( "(Point inHitPoint, EventModifiers inModifiers, UInt32 inClickTime) -> None" ) },
20092009 {"WEAdjustCursor" , (PyCFunction )wasteObj_WEAdjustCursor , 1 ,
2010- "(Point inMouseLoc, RgnHandle ioMouseRgn) -> (Boolean _rv)" },
2010+ PyDoc_STR ( "(Point inMouseLoc, RgnHandle ioMouseRgn) -> (Boolean _rv)" ) },
20112011 {"WEIdle" , (PyCFunction )wasteObj_WEIdle , 1 ,
2012- "() -> (UInt32 outMaxSleep)" },
2012+ PyDoc_STR ( "() -> (UInt32 outMaxSleep)" ) },
20132013 {"WEInsert" , (PyCFunction )wasteObj_WEInsert , 1 ,
2014- "(Buffer inTextPtr, StScrpHandle inStyles, WESoupHandle inSoup) -> None" },
2014+ PyDoc_STR ( "(Buffer inTextPtr, StScrpHandle inStyles, WESoupHandle inSoup) -> None" ) },
20152015 {"WEInsertFormattedText" , (PyCFunction )wasteObj_WEInsertFormattedText , 1 ,
2016- "(Buffer inTextPtr, StScrpHandle inStyles, WESoupHandle inSoup, Handle inParaFormat, Handle inRulerScrap) -> None" },
2016+ PyDoc_STR ( "(Buffer inTextPtr, StScrpHandle inStyles, WESoupHandle inSoup, Handle inParaFormat, Handle inRulerScrap) -> None" ) },
20172017 {"WEDelete" , (PyCFunction )wasteObj_WEDelete , 1 ,
2018- "() -> None" },
2018+ PyDoc_STR ( "() -> None" ) },
20192019 {"WEUseText" , (PyCFunction )wasteObj_WEUseText , 1 ,
2020- "(Handle inText) -> None" },
2020+ PyDoc_STR ( "(Handle inText) -> None" ) },
20212021 {"WEChangeCase" , (PyCFunction )wasteObj_WEChangeCase , 1 ,
2022- "(SInt16 inCase) -> None" },
2022+ PyDoc_STR ( "(SInt16 inCase) -> None" ) },
20232023 {"WESetOneAttribute" , (PyCFunction )wasteObj_WESetOneAttribute , 1 ,
2024- "(SInt32 inRangeStart, SInt32 inRangeEnd, WESelector inAttributeSelector, Buffer inAttributeValue) -> None" },
2024+ PyDoc_STR ( "(SInt32 inRangeStart, SInt32 inRangeEnd, WESelector inAttributeSelector, Buffer inAttributeValue) -> None" ) },
20252025 {"WESetStyle" , (PyCFunction )wasteObj_WESetStyle , 1 ,
2026- "(WEStyleMode inMode, TextStyle inTextStyle) -> None" },
2026+ PyDoc_STR ( "(WEStyleMode inMode, TextStyle inTextStyle) -> None" ) },
20272027 {"WEUseStyleScrap" , (PyCFunction )wasteObj_WEUseStyleScrap , 1 ,
2028- "(StScrpHandle inStyles) -> None" },
2028+ PyDoc_STR ( "(StScrpHandle inStyles) -> None" ) },
20292029 {"WEUndo" , (PyCFunction )wasteObj_WEUndo , 1 ,
2030- "() -> None" },
2030+ PyDoc_STR ( "() -> None" ) },
20312031 {"WERedo" , (PyCFunction )wasteObj_WERedo , 1 ,
2032- "() -> None" },
2032+ PyDoc_STR ( "() -> None" ) },
20332033 {"WEClearUndo" , (PyCFunction )wasteObj_WEClearUndo , 1 ,
2034- "() -> None" },
2034+ PyDoc_STR ( "() -> None" ) },
20352035 {"WEGetUndoInfo" , (PyCFunction )wasteObj_WEGetUndoInfo , 1 ,
2036- "() -> (WEActionKind _rv, Boolean outRedoFlag)" },
2036+ PyDoc_STR ( "() -> (WEActionKind _rv, Boolean outRedoFlag)" ) },
20372037 {"WEGetIndUndoInfo" , (PyCFunction )wasteObj_WEGetIndUndoInfo , 1 ,
2038- "(SInt32 inUndoLevel) -> (WEActionKind _rv)" },
2038+ PyDoc_STR ( "(SInt32 inUndoLevel) -> (WEActionKind _rv)" ) },
20392039 {"WEIsTyping" , (PyCFunction )wasteObj_WEIsTyping , 1 ,
2040- "() -> (Boolean _rv)" },
2040+ PyDoc_STR ( "() -> (Boolean _rv)" ) },
20412041 {"WEBeginAction" , (PyCFunction )wasteObj_WEBeginAction , 1 ,
2042- "() -> None" },
2042+ PyDoc_STR ( "() -> None" ) },
20432043 {"WEEndAction" , (PyCFunction )wasteObj_WEEndAction , 1 ,
2044- "(WEActionKind inActionKind) -> None" },
2044+ PyDoc_STR ( "(WEActionKind inActionKind) -> None" ) },
20452045 {"WEGetModCount" , (PyCFunction )wasteObj_WEGetModCount , 1 ,
2046- "() -> (UInt32 _rv)" },
2046+ PyDoc_STR ( "() -> (UInt32 _rv)" ) },
20472047 {"WEResetModCount" , (PyCFunction )wasteObj_WEResetModCount , 1 ,
2048- "() -> None" },
2048+ PyDoc_STR ( "() -> None" ) },
20492049 {"WEInsertObject" , (PyCFunction )wasteObj_WEInsertObject , 1 ,
2050- "(FlavorType inObjectType, Handle inObjectDataHandle, Point inObjectSize) -> None" },
2050+ PyDoc_STR ( "(FlavorType inObjectType, Handle inObjectDataHandle, Point inObjectSize) -> None" ) },
20512051 {"WEGetSelectedObject" , (PyCFunction )wasteObj_WEGetSelectedObject , 1 ,
2052- "() -> (WEObjectReference outObject)" },
2052+ PyDoc_STR ( "() -> (WEObjectReference outObject)" ) },
20532053 {"WEGetObjectAtOffset" , (PyCFunction )wasteObj_WEGetObjectAtOffset , 1 ,
2054- "(SInt32 inOffset) -> (WEObjectReference outObject)" },
2054+ PyDoc_STR ( "(SInt32 inOffset) -> (WEObjectReference outObject)" ) },
20552055 {"WEFindNextObject" , (PyCFunction )wasteObj_WEFindNextObject , 1 ,
2056- "(SInt32 inOffset) -> (SInt32 _rv, WEObjectReference outObject)" },
2056+ PyDoc_STR ( "(SInt32 inOffset) -> (SInt32 _rv, WEObjectReference outObject)" ) },
20572057 {"WEUseSoup" , (PyCFunction )wasteObj_WEUseSoup , 1 ,
2058- "(WESoupHandle inSoup) -> None" },
2058+ PyDoc_STR ( "(WESoupHandle inSoup) -> None" ) },
20592059 {"WECut" , (PyCFunction )wasteObj_WECut , 1 ,
2060- "() -> None" },
2060+ PyDoc_STR ( "() -> None" ) },
20612061 {"WECopy" , (PyCFunction )wasteObj_WECopy , 1 ,
2062- "() -> None" },
2062+ PyDoc_STR ( "() -> None" ) },
20632063 {"WEPaste" , (PyCFunction )wasteObj_WEPaste , 1 ,
2064- "() -> None" },
2064+ PyDoc_STR ( "() -> None" ) },
20652065 {"WECanPaste" , (PyCFunction )wasteObj_WECanPaste , 1 ,
2066- "() -> (Boolean _rv)" },
2066+ PyDoc_STR ( "() -> (Boolean _rv)" ) },
20672067 {"WEGetHiliteRgn" , (PyCFunction )wasteObj_WEGetHiliteRgn , 1 ,
2068- "(SInt32 inRangeStart, SInt32 inRangeEnd) -> (RgnHandle _rv)" },
2068+ PyDoc_STR ( "(SInt32 inRangeStart, SInt32 inRangeEnd) -> (RgnHandle _rv)" ) },
20692069 {"WECharByte" , (PyCFunction )wasteObj_WECharByte , 1 ,
2070- "(SInt32 inOffset) -> (SInt16 _rv)" },
2070+ PyDoc_STR ( "(SInt32 inOffset) -> (SInt16 _rv)" ) },
20712071 {"WECharType" , (PyCFunction )wasteObj_WECharType , 1 ,
2072- "(SInt32 inOffset) -> (SInt16 _rv)" },
2072+ PyDoc_STR ( "(SInt32 inOffset) -> (SInt16 _rv)" ) },
20732073 {"WEStopInlineSession" , (PyCFunction )wasteObj_WEStopInlineSession , 1 ,
2074- "() -> None" },
2074+ PyDoc_STR ( "() -> None" ) },
20752075 {"WEFeatureFlag" , (PyCFunction )wasteObj_WEFeatureFlag , 1 ,
2076- "(SInt16 inFeature, SInt16 inAction) -> (SInt16 _rv)" },
2076+ PyDoc_STR ( "(SInt16 inFeature, SInt16 inAction) -> (SInt16 _rv)" ) },
20772077 {"WEGetUserInfo" , (PyCFunction )wasteObj_WEGetUserInfo , 1 ,
2078- "(WESelector inUserTag) -> (SInt32 outUserInfo)" },
2078+ PyDoc_STR ( "(WESelector inUserTag) -> (SInt32 outUserInfo)" ) },
20792079 {"WESetUserInfo" , (PyCFunction )wasteObj_WESetUserInfo , 1 ,
2080- "(WESelector inUserTag, SInt32 inUserInfo) -> None" },
2080+ PyDoc_STR ( "(WESelector inUserTag, SInt32 inUserInfo) -> None" ) },
20812081 {"WERemoveUserInfo" , (PyCFunction )wasteObj_WERemoveUserInfo , 1 ,
2082- "(WESelector inUserTag) -> None" },
2082+ PyDoc_STR ( "(WESelector inUserTag) -> None" ) },
20832083 {"WEInstallTabHooks" , (PyCFunction )wasteObj_WEInstallTabHooks , 1 ,
2084- "() -> None" },
2084+ PyDoc_STR ( "() -> None" ) },
20852085 {"WERemoveTabHooks" , (PyCFunction )wasteObj_WERemoveTabHooks , 1 ,
2086- "() -> None" },
2086+ PyDoc_STR ( "() -> None" ) },
20872087 {"WEIsTabHooks" , (PyCFunction )wasteObj_WEIsTabHooks , 1 ,
2088- "() -> (Boolean _rv)" },
2088+ PyDoc_STR ( "() -> (Boolean _rv)" ) },
20892089 {"WEGetTabSize" , (PyCFunction )wasteObj_WEGetTabSize , 1 ,
2090- "() -> (SInt16 _rv)" },
2090+ PyDoc_STR ( "() -> (SInt16 _rv)" ) },
20912091 {"WESetTabSize" , (PyCFunction )wasteObj_WESetTabSize , 1 ,
2092- "(SInt16 tabWidth) -> None" },
2092+ PyDoc_STR ( "(SInt16 tabWidth) -> None" ) },
20932093 {NULL , NULL , 0 }
20942094};
20952095
@@ -2416,33 +2416,33 @@ static PyObject *waste_WEInstallObjectHandler(PyObject *_self, PyObject *_args)
24162416
24172417static PyMethodDef waste_methods [] = {
24182418 {"WENew" , (PyCFunction )waste_WENew , 1 ,
2419- "(LongRect inDestRect, LongRect inViewRect, OptionBits inOptions) -> (WEReference outWE)" },
2419+ PyDoc_STR ( "(LongRect inDestRect, LongRect inViewRect, OptionBits inOptions) -> (WEReference outWE)" ) },
24202420 {"WEUpdateStyleScrap" , (PyCFunction )waste_WEUpdateStyleScrap , 1 ,
2421- "(StScrpHandle ioStyles, WEFontTableHandle inFontTable) -> None" },
2421+ PyDoc_STR ( "(StScrpHandle ioStyles, WEFontTableHandle inFontTable) -> None" ) },
24222422 {"WEInstallTSMHandlers" , (PyCFunction )waste_WEInstallTSMHandlers , 1 ,
2423- "() -> None" },
2423+ PyDoc_STR ( "() -> None" ) },
24242424 {"WERemoveTSMHandlers" , (PyCFunction )waste_WERemoveTSMHandlers , 1 ,
2425- "() -> None" },
2425+ PyDoc_STR ( "() -> None" ) },
24262426 {"WEHandleTSMEvent" , (PyCFunction )waste_WEHandleTSMEvent , 1 ,
2427- "(AppleEvent inAppleEvent) -> (AppleEvent ioReply)" },
2427+ PyDoc_STR ( "(AppleEvent inAppleEvent) -> (AppleEvent ioReply)" ) },
24282428 {"WELongPointToPoint" , (PyCFunction )waste_WELongPointToPoint , 1 ,
2429- "(LongPt inLongPoint) -> (Point outPoint)" },
2429+ PyDoc_STR ( "(LongPt inLongPoint) -> (Point outPoint)" ) },
24302430 {"WEPointToLongPoint" , (PyCFunction )waste_WEPointToLongPoint , 1 ,
2431- "(Point inPoint) -> (LongPt outLongPoint)" },
2431+ PyDoc_STR ( "(Point inPoint) -> (LongPt outLongPoint)" ) },
24322432 {"WESetLongRect" , (PyCFunction )waste_WESetLongRect , 1 ,
2433- "(SInt32 inLeft, SInt32 inTop, SInt32 inRight, SInt32 inBottom) -> (LongRect outLongRect)" },
2433+ PyDoc_STR ( "(SInt32 inLeft, SInt32 inTop, SInt32 inRight, SInt32 inBottom) -> (LongRect outLongRect)" ) },
24342434 {"WELongRectToRect" , (PyCFunction )waste_WELongRectToRect , 1 ,
2435- "(LongRect inLongRect) -> (Rect outRect)" },
2435+ PyDoc_STR ( "(LongRect inLongRect) -> (Rect outRect)" ) },
24362436 {"WERectToLongRect" , (PyCFunction )waste_WERectToLongRect , 1 ,
2437- "(Rect inRect) -> (LongRect outLongRect)" },
2437+ PyDoc_STR ( "(Rect inRect) -> (LongRect outLongRect)" ) },
24382438 {"WEOffsetLongRect" , (PyCFunction )waste_WEOffsetLongRect , 1 ,
2439- "(SInt32 inHorizontalOffset, SInt32 inVerticalOffset) -> (LongRect ioLongRect)" },
2439+ PyDoc_STR ( "(SInt32 inHorizontalOffset, SInt32 inVerticalOffset) -> (LongRect ioLongRect)" ) },
24402440 {"WELongPointInLongRect" , (PyCFunction )waste_WELongPointInLongRect , 1 ,
2441- "(LongPt inLongPoint, LongRect inLongRect) -> (Boolean _rv)" },
2441+ PyDoc_STR ( "(LongPt inLongPoint, LongRect inLongRect) -> (Boolean _rv)" ) },
24422442 {"STDObjectHandlers" , (PyCFunction )waste_STDObjectHandlers , 1 ,
2443- NULL },
2443+ PyDoc_STR ( NULL ) },
24442444 {"WEInstallObjectHandler" , (PyCFunction )waste_WEInstallObjectHandler , 1 ,
2445- NULL },
2445+ PyDoc_STR ( NULL ) },
24462446 {NULL , NULL , 0 }
24472447};
24482448
0 commit comments