diff options
Diffstat (limited to 'Mac/Modules/te/_TEmodule.c')
-rw-r--r-- | Mac/Modules/te/_TEmodule.c | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/Mac/Modules/te/_TEmodule.c b/Mac/Modules/te/_TEmodule.c index c83eb84..1788620 100644 --- a/Mac/Modules/te/_TEmodule.c +++ b/Mac/Modules/te/_TEmodule.c @@ -774,79 +774,79 @@ static PyObject *TEObj_as_Resource(TEObject *_self, PyObject *_args) static PyMethodDef TEObj_methods[] = { {"TESetText", (PyCFunction)TEObj_TESetText, 1, - "(Buffer text) -> None"}, + PyDoc_STR("(Buffer text) -> None")}, {"TEGetText", (PyCFunction)TEObj_TEGetText, 1, - "() -> (CharsHandle _rv)"}, + PyDoc_STR("() -> (CharsHandle _rv)")}, {"TEIdle", (PyCFunction)TEObj_TEIdle, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"TESetSelect", (PyCFunction)TEObj_TESetSelect, 1, - "(long selStart, long selEnd) -> None"}, + PyDoc_STR("(long selStart, long selEnd) -> None")}, {"TEActivate", (PyCFunction)TEObj_TEActivate, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"TEDeactivate", (PyCFunction)TEObj_TEDeactivate, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"TEKey", (PyCFunction)TEObj_TEKey, 1, - "(CharParameter key) -> None"}, + PyDoc_STR("(CharParameter key) -> None")}, {"TECut", (PyCFunction)TEObj_TECut, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"TECopy", (PyCFunction)TEObj_TECopy, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"TEPaste", (PyCFunction)TEObj_TEPaste, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"TEDelete", (PyCFunction)TEObj_TEDelete, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"TEInsert", (PyCFunction)TEObj_TEInsert, 1, - "(Buffer text) -> None"}, + PyDoc_STR("(Buffer text) -> None")}, {"TESetAlignment", (PyCFunction)TEObj_TESetAlignment, 1, - "(short just) -> None"}, + PyDoc_STR("(short just) -> None")}, {"TEUpdate", (PyCFunction)TEObj_TEUpdate, 1, - "(Rect rUpdate) -> None"}, + PyDoc_STR("(Rect rUpdate) -> None")}, {"TEScroll", (PyCFunction)TEObj_TEScroll, 1, - "(short dh, short dv) -> None"}, + PyDoc_STR("(short dh, short dv) -> None")}, {"TESelView", (PyCFunction)TEObj_TESelView, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"TEPinScroll", (PyCFunction)TEObj_TEPinScroll, 1, - "(short dh, short dv) -> None"}, + PyDoc_STR("(short dh, short dv) -> None")}, {"TEAutoView", (PyCFunction)TEObj_TEAutoView, 1, - "(Boolean fAuto) -> None"}, + PyDoc_STR("(Boolean fAuto) -> None")}, {"TECalText", (PyCFunction)TEObj_TECalText, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"TEGetOffset", (PyCFunction)TEObj_TEGetOffset, 1, - "(Point pt) -> (short _rv)"}, + PyDoc_STR("(Point pt) -> (short _rv)")}, {"TEGetPoint", (PyCFunction)TEObj_TEGetPoint, 1, - "(short offset) -> (Point _rv)"}, + PyDoc_STR("(short offset) -> (Point _rv)")}, {"TEClick", (PyCFunction)TEObj_TEClick, 1, - "(Point pt, Boolean fExtend) -> None"}, + PyDoc_STR("(Point pt, Boolean fExtend) -> None")}, {"TESetStyleHandle", (PyCFunction)TEObj_TESetStyleHandle, 1, - "(TEStyleHandle theHandle) -> None"}, + PyDoc_STR("(TEStyleHandle theHandle) -> None")}, {"TEGetStyleHandle", (PyCFunction)TEObj_TEGetStyleHandle, 1, - "() -> (TEStyleHandle _rv)"}, + PyDoc_STR("() -> (TEStyleHandle _rv)")}, {"TEGetStyle", (PyCFunction)TEObj_TEGetStyle, 1, - "(short offset) -> (TextStyle theStyle, short lineHeight, short fontAscent)"}, + PyDoc_STR("(short offset) -> (TextStyle theStyle, short lineHeight, short fontAscent)")}, {"TEStylePaste", (PyCFunction)TEObj_TEStylePaste, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"TESetStyle", (PyCFunction)TEObj_TESetStyle, 1, - "(short mode, TextStyle newStyle, Boolean fRedraw) -> None"}, + PyDoc_STR("(short mode, TextStyle newStyle, Boolean fRedraw) -> None")}, {"TEReplaceStyle", (PyCFunction)TEObj_TEReplaceStyle, 1, - "(short mode, TextStyle oldStyle, TextStyle newStyle, Boolean fRedraw) -> None"}, + PyDoc_STR("(short mode, TextStyle oldStyle, TextStyle newStyle, Boolean fRedraw) -> None")}, {"TEGetStyleScrapHandle", (PyCFunction)TEObj_TEGetStyleScrapHandle, 1, - "() -> (StScrpHandle _rv)"}, + PyDoc_STR("() -> (StScrpHandle _rv)")}, {"TEStyleInsert", (PyCFunction)TEObj_TEStyleInsert, 1, - "(Buffer text, StScrpHandle hST) -> None"}, + PyDoc_STR("(Buffer text, StScrpHandle hST) -> None")}, {"TEGetHeight", (PyCFunction)TEObj_TEGetHeight, 1, - "(long endLine, long startLine) -> (long _rv)"}, + PyDoc_STR("(long endLine, long startLine) -> (long _rv)")}, {"TEContinuousStyle", (PyCFunction)TEObj_TEContinuousStyle, 1, - "(short mode, TextStyle aStyle) -> (Boolean _rv, short mode, TextStyle aStyle)"}, + PyDoc_STR("(short mode, TextStyle aStyle) -> (Boolean _rv, short mode, TextStyle aStyle)")}, {"TEUseStyleScrap", (PyCFunction)TEObj_TEUseStyleScrap, 1, - "(long rangeStart, long rangeEnd, StScrpHandle newStyles, Boolean fRedraw) -> None"}, + PyDoc_STR("(long rangeStart, long rangeEnd, StScrpHandle newStyles, Boolean fRedraw) -> None")}, {"TENumStyles", (PyCFunction)TEObj_TENumStyles, 1, - "(long rangeStart, long rangeEnd) -> (long _rv)"}, + PyDoc_STR("(long rangeStart, long rangeEnd) -> (long _rv)")}, {"TEFeatureFlag", (PyCFunction)TEObj_TEFeatureFlag, 1, - "(short feature, short action) -> (short _rv)"}, + PyDoc_STR("(short feature, short action) -> (short _rv)")}, {"TEGetHiliteRgn", (PyCFunction)TEObj_TEGetHiliteRgn, 1, - "(RgnHandle region) -> None"}, + PyDoc_STR("(RgnHandle region) -> None")}, {"as_Resource", (PyCFunction)TEObj_as_Resource, 1, - "() -> (Handle _rv)"}, + PyDoc_STR("() -> (Handle _rv)")}, {NULL, NULL, 0} }; @@ -1155,37 +1155,37 @@ static PyObject *TE_as_TE(PyObject *_self, PyObject *_args) static PyMethodDef TE_methods[] = { {"TEScrapHandle", (PyCFunction)TE_TEScrapHandle, 1, - "() -> (Handle _rv)"}, + PyDoc_STR("() -> (Handle _rv)")}, {"TEGetScrapLength", (PyCFunction)TE_TEGetScrapLength, 1, - "() -> (long _rv)"}, + PyDoc_STR("() -> (long _rv)")}, {"TENew", (PyCFunction)TE_TENew, 1, - "(Rect destRect, Rect viewRect) -> (TEHandle _rv)"}, + PyDoc_STR("(Rect destRect, Rect viewRect) -> (TEHandle _rv)")}, {"TETextBox", (PyCFunction)TE_TETextBox, 1, - "(Buffer text, Rect box, short just) -> None"}, + PyDoc_STR("(Buffer text, Rect box, short just) -> None")}, {"TEStyleNew", (PyCFunction)TE_TEStyleNew, 1, - "(Rect destRect, Rect viewRect) -> (TEHandle _rv)"}, + PyDoc_STR("(Rect destRect, Rect viewRect) -> (TEHandle _rv)")}, {"TESetScrapLength", (PyCFunction)TE_TESetScrapLength, 1, - "(long length) -> None"}, + PyDoc_STR("(long length) -> None")}, {"TEFromScrap", (PyCFunction)TE_TEFromScrap, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"TEToScrap", (PyCFunction)TE_TEToScrap, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, #if TARGET_API_MAC_CARBON {"TEGetScrapHandle", (PyCFunction)TE_TEGetScrapHandle, 1, - "() -> (Handle _rv)"}, + PyDoc_STR("() -> (Handle _rv)")}, #endif #if TARGET_API_MAC_CARBON {"TESetScrapHandle", (PyCFunction)TE_TESetScrapHandle, 1, - "(Handle value) -> None"}, + PyDoc_STR("(Handle value) -> None")}, #endif {"LMGetWordRedraw", (PyCFunction)TE_LMGetWordRedraw, 1, - "() -> (UInt8 _rv)"}, + PyDoc_STR("() -> (UInt8 _rv)")}, {"LMSetWordRedraw", (PyCFunction)TE_LMSetWordRedraw, 1, - "(UInt8 value) -> None"}, + PyDoc_STR("(UInt8 value) -> None")}, {"as_TE", (PyCFunction)TE_as_TE, 1, - "(Handle h) -> (TEHandle _rv)"}, + PyDoc_STR("(Handle h) -> (TEHandle _rv)")}, {NULL, NULL, 0} }; |