@@ -3842,96 +3842,6 @@ static PyObject *Qd_AngleFromSlope(_self, _args)
38423842 return _res ;
38433843}
38443844
3845- static PyObject * Qd_OpenCursorComponent (_self , _args )
3846- PyObject * _self ;
3847- PyObject * _args ;
3848- {
3849- PyObject * _res = NULL ;
3850- OSErr _err ;
3851- Component c ;
3852- ComponentInstance ci ;
3853- if (!PyArg_ParseTuple (_args , "O&" ,
3854- CmpObj_Convert , & c ))
3855- return NULL ;
3856- _err = OpenCursorComponent (c ,
3857- & ci );
3858- if (_err != noErr ) return PyMac_Error (_err );
3859- _res = Py_BuildValue ("O&" ,
3860- CmpInstObj_New , ci );
3861- return _res ;
3862- }
3863-
3864- static PyObject * Qd_CloseCursorComponent (_self , _args )
3865- PyObject * _self ;
3866- PyObject * _args ;
3867- {
3868- PyObject * _res = NULL ;
3869- OSErr _err ;
3870- ComponentInstance ci ;
3871- if (!PyArg_ParseTuple (_args , "O&" ,
3872- CmpInstObj_Convert , & ci ))
3873- return NULL ;
3874- _err = CloseCursorComponent (ci );
3875- if (_err != noErr ) return PyMac_Error (_err );
3876- Py_INCREF (Py_None );
3877- _res = Py_None ;
3878- return _res ;
3879- }
3880-
3881- static PyObject * Qd_SetCursorComponent (_self , _args )
3882- PyObject * _self ;
3883- PyObject * _args ;
3884- {
3885- PyObject * _res = NULL ;
3886- OSErr _err ;
3887- ComponentInstance ci ;
3888- if (!PyArg_ParseTuple (_args , "O&" ,
3889- CmpInstObj_Convert , & ci ))
3890- return NULL ;
3891- _err = SetCursorComponent (ci );
3892- if (_err != noErr ) return PyMac_Error (_err );
3893- Py_INCREF (Py_None );
3894- _res = Py_None ;
3895- return _res ;
3896- }
3897-
3898- static PyObject * Qd_CursorComponentChanged (_self , _args )
3899- PyObject * _self ;
3900- PyObject * _args ;
3901- {
3902- PyObject * _res = NULL ;
3903- OSErr _err ;
3904- ComponentInstance ci ;
3905- if (!PyArg_ParseTuple (_args , "O&" ,
3906- CmpInstObj_Convert , & ci ))
3907- return NULL ;
3908- _err = CursorComponentChanged (ci );
3909- if (_err != noErr ) return PyMac_Error (_err );
3910- Py_INCREF (Py_None );
3911- _res = Py_None ;
3912- return _res ;
3913- }
3914-
3915- static PyObject * Qd_CursorComponentSetData (_self , _args )
3916- PyObject * _self ;
3917- PyObject * _args ;
3918- {
3919- PyObject * _res = NULL ;
3920- OSErr _err ;
3921- ComponentInstance ci ;
3922- long data ;
3923- if (!PyArg_ParseTuple (_args , "O&l" ,
3924- CmpInstObj_Convert , & ci ,
3925- & data ))
3926- return NULL ;
3927- _err = CursorComponentSetData (ci ,
3928- data );
3929- if (_err != noErr ) return PyMac_Error (_err );
3930- Py_INCREF (Py_None );
3931- _res = Py_None ;
3932- return _res ;
3933- }
3934-
39353845static PyObject * Qd_GetPortPixMap (_self , _args )
39363846 PyObject * _self ;
39373847 PyObject * _args ;
@@ -6019,16 +5929,6 @@ static PyMethodDef Qd_methods[] = {
60195929 "(short angle) -> (Fixed _rv)" },
60205930 {"AngleFromSlope" , (PyCFunction )Qd_AngleFromSlope , 1 ,
60215931 "(Fixed slope) -> (short _rv)" },
6022- {"OpenCursorComponent" , (PyCFunction )Qd_OpenCursorComponent , 1 ,
6023- "(Component c) -> (ComponentInstance ci)" },
6024- {"CloseCursorComponent" , (PyCFunction )Qd_CloseCursorComponent , 1 ,
6025- "(ComponentInstance ci) -> None" },
6026- {"SetCursorComponent" , (PyCFunction )Qd_SetCursorComponent , 1 ,
6027- "(ComponentInstance ci) -> None" },
6028- {"CursorComponentChanged" , (PyCFunction )Qd_CursorComponentChanged , 1 ,
6029- "(ComponentInstance ci) -> None" },
6030- {"CursorComponentSetData" , (PyCFunction )Qd_CursorComponentSetData , 1 ,
6031- "(ComponentInstance ci, long data) -> None" },
60325932 {"GetPortPixMap" , (PyCFunction )Qd_GetPortPixMap , 1 ,
60335933 "(CGrafPtr port) -> (PixMapHandle _rv)" },
60345934 {"GetPortBounds" , (PyCFunction )Qd_GetPortBounds , 1 ,
0 commit comments