summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-11-14 10:41:55 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-11-14 10:41:55 (GMT)
commit754d4a4fa03f2821649c2761f3487e0d117f1f30 (patch)
tree6b980e19256d10cd127786dc92b57d0982005dcd /Mac/Modules
parentb5cf5dad43cdccafa773d764a457108e2f68479b (diff)
downloadcpython-754d4a4fa03f2821649c2761f3487e0d117f1f30.zip
cpython-754d4a4fa03f2821649c2761f3487e0d117f1f30.tar.gz
cpython-754d4a4fa03f2821649c2761f3487e0d117f1f30.tar.bz2
Regenerated because of minor changes in universal headers
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/ctl/Ctlmodule.c16
-rw-r--r--Mac/Modules/ctl/ctlgen.py8
2 files changed, 12 insertions, 12 deletions
diff --git a/Mac/Modules/ctl/Ctlmodule.c b/Mac/Modules/ctl/Ctlmodule.c
index c89d461..3ea6b91 100644
--- a/Mac/Modules/ctl/Ctlmodule.c
+++ b/Mac/Modules/ctl/Ctlmodule.c
@@ -178,18 +178,18 @@ static PyObject *CtlObj_DragControl(_self, _args)
PyObject *_args;
{
PyObject *_res = NULL;
- Point startPt;
+ Point startPoint;
Rect limitRect;
Rect slopRect;
DragConstraint axis;
if (!PyArg_ParseTuple(_args, "O&O&O&h",
- PyMac_GetPoint, &startPt,
+ PyMac_GetPoint, &startPoint,
PyMac_GetRect, &limitRect,
PyMac_GetRect, &slopRect,
&axis))
return NULL;
DragControl(_self->ob_itself,
- startPt,
+ startPoint,
&limitRect,
&slopRect,
axis);
@@ -204,12 +204,12 @@ static PyObject *CtlObj_TestControl(_self, _args)
{
PyObject *_res = NULL;
ControlPartCode _rv;
- Point thePt;
+ Point thePoint;
if (!PyArg_ParseTuple(_args, "O&",
- PyMac_GetPoint, &thePt))
+ PyMac_GetPoint, &thePoint))
return NULL;
_rv = TestControl(_self->ob_itself,
- thePt);
+ thePoint);
_res = Py_BuildValue("h",
_rv);
return _res;
@@ -457,9 +457,9 @@ static PyMethodDef CtlObj_methods[] = {
{"TrackControl", (PyCFunction)CtlObj_TrackControl, 1,
"(Point thePoint) -> (ControlPartCode _rv)"},
{"DragControl", (PyCFunction)CtlObj_DragControl, 1,
- "(Point startPt, Rect limitRect, Rect slopRect, DragConstraint axis) -> None"},
+ "(Point startPoint, Rect limitRect, Rect slopRect, DragConstraint axis) -> None"},
{"TestControl", (PyCFunction)CtlObj_TestControl, 1,
- "(Point thePt) -> (ControlPartCode _rv)"},
+ "(Point thePoint) -> (ControlPartCode _rv)"},
{"MoveControl", (PyCFunction)CtlObj_MoveControl, 1,
"(SInt16 h, SInt16 v) -> None"},
{"SizeControl", (PyCFunction)CtlObj_SizeControl, 1,
diff --git a/Mac/Modules/ctl/ctlgen.py b/Mac/Modules/ctl/ctlgen.py
index 9873ca4..529097c 100644
--- a/Mac/Modules/ctl/ctlgen.py
+++ b/Mac/Modules/ctl/ctlgen.py
@@ -1,4 +1,4 @@
-# Generated from 'Sap:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Controls.h'
+# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Controls.h'
f = Function(ControlRef, 'NewControl',
(WindowRef, 'theWindow', InMode),
@@ -51,7 +51,7 @@ methods.append(f)
f = Function(void, 'UpdateControls',
(WindowRef, 'theWindow', InMode),
- (RgnHandle, 'updateRgn', InMode),
+ (RgnHandle, 'updateRegion', InMode),
)
functions.append(f)
@@ -70,7 +70,7 @@ methods.append(f)
f = Method(void, 'DragControl',
(ControlRef, 'theControl', InMode),
- (Point, 'startPt', InMode),
+ (Point, 'startPoint', InMode),
(Rect_ptr, 'limitRect', InMode),
(Rect_ptr, 'slopRect', InMode),
(DragConstraint, 'axis', InMode),
@@ -79,7 +79,7 @@ methods.append(f)
f = Method(ControlPartCode, 'TestControl',
(ControlRef, 'theControl', InMode),
- (Point, 'thePt', InMode),
+ (Point, 'thePoint', InMode),
)
methods.append(f)