[Python-checkins] python/dist/src/Mac/Modules/waste wastemodule.c,1.24,1.25

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Thu, 22 Aug 2002 16:29:48 -0700


Update of /cvsroot/python/python/dist/src/Mac/Modules/waste
In directory usw-pr-cvs1:/tmp/cvs-serv18432/Mac/Modules/waste

Modified Files:
	wastemodule.c 
Log Message:
Added PyDoc_STR's.


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