diff options
Diffstat (limited to 'Mac/Modules/list/_Listmodule.c')
-rw-r--r-- | Mac/Modules/list/_Listmodule.c | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/Mac/Modules/list/_Listmodule.c b/Mac/Modules/list/_Listmodule.c index 85c4d61..99805b6 100644 --- a/Mac/Modules/list/_Listmodule.c +++ b/Mac/Modules/list/_Listmodule.c @@ -556,53 +556,53 @@ static PyObject *ListObj_as_Resource(ListObject *_self, PyObject *_args) static PyMethodDef ListObj_methods[] = { {"LAddColumn", (PyCFunction)ListObj_LAddColumn, 1, - "(short count, short colNum) -> (short _rv)"}, + PyDoc_STR("(short count, short colNum) -> (short _rv)")}, {"LAddRow", (PyCFunction)ListObj_LAddRow, 1, - "(short count, short rowNum) -> (short _rv)"}, + PyDoc_STR("(short count, short rowNum) -> (short _rv)")}, {"LDelColumn", (PyCFunction)ListObj_LDelColumn, 1, - "(short count, short colNum) -> None"}, + PyDoc_STR("(short count, short colNum) -> None")}, {"LDelRow", (PyCFunction)ListObj_LDelRow, 1, - "(short count, short rowNum) -> None"}, + PyDoc_STR("(short count, short rowNum) -> None")}, {"LGetSelect", (PyCFunction)ListObj_LGetSelect, 1, - "(Boolean next, Point theCell) -> (Boolean _rv, Point theCell)"}, + PyDoc_STR("(Boolean next, Point theCell) -> (Boolean _rv, Point theCell)")}, {"LLastClick", (PyCFunction)ListObj_LLastClick, 1, - "() -> (Point _rv)"}, + PyDoc_STR("() -> (Point _rv)")}, {"LNextCell", (PyCFunction)ListObj_LNextCell, 1, - "(Boolean hNext, Boolean vNext, Point theCell) -> (Boolean _rv, Point theCell)"}, + PyDoc_STR("(Boolean hNext, Boolean vNext, Point theCell) -> (Boolean _rv, Point theCell)")}, {"LSize", (PyCFunction)ListObj_LSize, 1, - "(short listWidth, short listHeight) -> None"}, + PyDoc_STR("(short listWidth, short listHeight) -> None")}, {"LSetDrawingMode", (PyCFunction)ListObj_LSetDrawingMode, 1, - "(Boolean drawIt) -> None"}, + PyDoc_STR("(Boolean drawIt) -> None")}, {"LScroll", (PyCFunction)ListObj_LScroll, 1, - "(short dCols, short dRows) -> None"}, + PyDoc_STR("(short dCols, short dRows) -> None")}, {"LAutoScroll", (PyCFunction)ListObj_LAutoScroll, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"LUpdate", (PyCFunction)ListObj_LUpdate, 1, - "(RgnHandle theRgn) -> None"}, + PyDoc_STR("(RgnHandle theRgn) -> None")}, {"LActivate", (PyCFunction)ListObj_LActivate, 1, - "(Boolean act) -> None"}, + PyDoc_STR("(Boolean act) -> None")}, {"LCellSize", (PyCFunction)ListObj_LCellSize, 1, - "(Point cSize) -> None"}, + PyDoc_STR("(Point cSize) -> None")}, {"LClick", (PyCFunction)ListObj_LClick, 1, - "(Point pt, EventModifiers modifiers) -> (Boolean _rv)"}, + PyDoc_STR("(Point pt, EventModifiers modifiers) -> (Boolean _rv)")}, {"LAddToCell", (PyCFunction)ListObj_LAddToCell, 1, - "(Buffer dataPtr, Point theCell) -> None"}, + PyDoc_STR("(Buffer dataPtr, Point theCell) -> None")}, {"LClrCell", (PyCFunction)ListObj_LClrCell, 1, - "(Point theCell) -> None"}, + PyDoc_STR("(Point theCell) -> None")}, {"LGetCell", (PyCFunction)ListObj_LGetCell, 1, - "(Buffer dataPtr, Point theCell) -> (Buffer dataPtr)"}, + PyDoc_STR("(Buffer dataPtr, Point theCell) -> (Buffer dataPtr)")}, {"LRect", (PyCFunction)ListObj_LRect, 1, - "(Point theCell) -> (Rect cellRect)"}, + PyDoc_STR("(Point theCell) -> (Rect cellRect)")}, {"LSetCell", (PyCFunction)ListObj_LSetCell, 1, - "(Buffer dataPtr, Point theCell) -> None"}, + PyDoc_STR("(Buffer dataPtr, Point theCell) -> None")}, {"LSetSelect", (PyCFunction)ListObj_LSetSelect, 1, - "(Boolean setIt, Point theCell) -> None"}, + PyDoc_STR("(Boolean setIt, Point theCell) -> None")}, {"LDraw", (PyCFunction)ListObj_LDraw, 1, - "(Point theCell) -> None"}, + PyDoc_STR("(Point theCell) -> None")}, {"LGetCellDataLocation", (PyCFunction)ListObj_LGetCellDataLocation, 1, - "(Point theCell) -> (short offset, short len)"}, + PyDoc_STR("(Point theCell) -> (short offset, short len)")}, {"as_Resource", (PyCFunction)ListObj_as_Resource, 1, - "() -> (Handle _rv)"}, + PyDoc_STR("() -> (Handle _rv)")}, {NULL, NULL, 0} }; @@ -1082,49 +1082,49 @@ static PyObject *List_as_List(PyObject *_self, PyObject *_args) static PyMethodDef List_methods[] = { {"CreateCustomList", (PyCFunction)List_CreateCustomList, 1, - "(Rect rView, Rect dataBounds, Point cellSize, ListDefSpec theSpec, WindowPtr theWindow, Boolean drawIt, Boolean hasGrow, Boolean scrollHoriz, Boolean scrollVert) -> (ListHandle outList)"}, + PyDoc_STR("(Rect rView, Rect dataBounds, Point cellSize, ListDefSpec theSpec, WindowPtr theWindow, Boolean drawIt, Boolean hasGrow, Boolean scrollHoriz, Boolean scrollVert) -> (ListHandle outList)")}, {"LNew", (PyCFunction)List_LNew, 1, - "(Rect rView, Rect dataBounds, Point cSize, short theProc, WindowPtr theWindow, Boolean drawIt, Boolean hasGrow, Boolean scrollHoriz, Boolean scrollVert) -> (ListHandle _rv)"}, + PyDoc_STR("(Rect rView, Rect dataBounds, Point cSize, short theProc, WindowPtr theWindow, Boolean drawIt, Boolean hasGrow, Boolean scrollHoriz, Boolean scrollVert) -> (ListHandle _rv)")}, {"GetListPort", (PyCFunction)List_GetListPort, 1, - "(ListHandle list) -> (CGrafPtr _rv)"}, + PyDoc_STR("(ListHandle list) -> (CGrafPtr _rv)")}, {"GetListVerticalScrollBar", (PyCFunction)List_GetListVerticalScrollBar, 1, - "(ListHandle list) -> (ControlHandle _rv)"}, + PyDoc_STR("(ListHandle list) -> (ControlHandle _rv)")}, {"GetListHorizontalScrollBar", (PyCFunction)List_GetListHorizontalScrollBar, 1, - "(ListHandle list) -> (ControlHandle _rv)"}, + PyDoc_STR("(ListHandle list) -> (ControlHandle _rv)")}, {"GetListActive", (PyCFunction)List_GetListActive, 1, - "(ListHandle list) -> (Boolean _rv)"}, + PyDoc_STR("(ListHandle list) -> (Boolean _rv)")}, {"GetListClickTime", (PyCFunction)List_GetListClickTime, 1, - "(ListHandle list) -> (SInt32 _rv)"}, + PyDoc_STR("(ListHandle list) -> (SInt32 _rv)")}, {"GetListRefCon", (PyCFunction)List_GetListRefCon, 1, - "(ListHandle list) -> (SInt32 _rv)"}, + PyDoc_STR("(ListHandle list) -> (SInt32 _rv)")}, {"GetListDefinition", (PyCFunction)List_GetListDefinition, 1, - "(ListHandle list) -> (Handle _rv)"}, + PyDoc_STR("(ListHandle list) -> (Handle _rv)")}, {"GetListUserHandle", (PyCFunction)List_GetListUserHandle, 1, - "(ListHandle list) -> (Handle _rv)"}, + PyDoc_STR("(ListHandle list) -> (Handle _rv)")}, {"GetListDataHandle", (PyCFunction)List_GetListDataHandle, 1, - "(ListHandle list) -> (DataHandle _rv)"}, + PyDoc_STR("(ListHandle list) -> (DataHandle _rv)")}, {"GetListFlags", (PyCFunction)List_GetListFlags, 1, - "(ListHandle list) -> (OptionBits _rv)"}, + PyDoc_STR("(ListHandle list) -> (OptionBits _rv)")}, {"GetListSelectionFlags", (PyCFunction)List_GetListSelectionFlags, 1, - "(ListHandle list) -> (OptionBits _rv)"}, + PyDoc_STR("(ListHandle list) -> (OptionBits _rv)")}, {"SetListViewBounds", (PyCFunction)List_SetListViewBounds, 1, - "(ListHandle list, Rect view) -> None"}, + PyDoc_STR("(ListHandle list, Rect view) -> None")}, {"SetListPort", (PyCFunction)List_SetListPort, 1, - "(ListHandle list, CGrafPtr port) -> None"}, + PyDoc_STR("(ListHandle list, CGrafPtr port) -> None")}, {"SetListCellIndent", (PyCFunction)List_SetListCellIndent, 1, - "(ListHandle list, Point indent) -> None"}, + PyDoc_STR("(ListHandle list, Point indent) -> None")}, {"SetListClickTime", (PyCFunction)List_SetListClickTime, 1, - "(ListHandle list, SInt32 time) -> None"}, + PyDoc_STR("(ListHandle list, SInt32 time) -> None")}, {"SetListRefCon", (PyCFunction)List_SetListRefCon, 1, - "(ListHandle list, SInt32 refCon) -> None"}, + PyDoc_STR("(ListHandle list, SInt32 refCon) -> None")}, {"SetListUserHandle", (PyCFunction)List_SetListUserHandle, 1, - "(ListHandle list, Handle userHandle) -> None"}, + PyDoc_STR("(ListHandle list, Handle userHandle) -> None")}, {"SetListFlags", (PyCFunction)List_SetListFlags, 1, - "(ListHandle list, OptionBits listFlags) -> None"}, + PyDoc_STR("(ListHandle list, OptionBits listFlags) -> None")}, {"SetListSelectionFlags", (PyCFunction)List_SetListSelectionFlags, 1, - "(ListHandle list, OptionBits selectionFlags) -> None"}, + PyDoc_STR("(ListHandle list, OptionBits selectionFlags) -> None")}, {"as_List", (PyCFunction)List_as_List, 1, - "(Resource)->List.\nReturns List object (which is not auto-freed!)"}, + PyDoc_STR("(Resource)->List.\nReturns List object (which is not auto-freed!)")}, {NULL, NULL, 0} }; |