static PyObject *meth_QMatrix2x2_data(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = NULL; { QMatrix2x2 *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMatrix2x2, &sipCpp)) { PyObject * sipRes = 0; sipErrorState sipError = sipErrorNone; #line 1165 "/Users/Kunwiji/Dropbox/Spectroscopy_paper/PyQt-mac-gpl-4.11.2/sip/QtGui/qgenericmatrix.sip" sipError = qtgui_matrixDataAsList(4, sipCpp->constData(), &sipRes); #line 55 "/Users/Kunwiji/Dropbox/Spectroscopy_paper/PyQt-mac-gpl-4.11.2/QtGui/sipQtGuiQMatrix2x2.cpp" if (sipError == sipErrorFail) return 0; if (sipError == sipErrorNone) { return sipRes; } sipAddException(sipError, &sipParseErr); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_QMatrix2x2, sipName_data, doc_QMatrix2x2_data); return NULL; }
static PyObject *meth_QEasingCurve_setCustomType(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = NULL; { PyObject * a0; QEasingCurve *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "BF", &sipSelf, sipType_QEasingCurve, &sipCpp, &a0)) { sipErrorState sipError = sipErrorNone; #line 232 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\sip/QtCore/qeasingcurve.sip" int i; ec_custom_type *ct; for (i = 0; i < ec_nr_custom_types; ++i) { ct = &ec_custom_types[i]; if (!ct->py_func || ct->py_func == a0) break; } if (i == ec_nr_custom_types) { PyErr_Format(PyExc_ValueError, "a maximum of %d different easing functions are supported", ec_nr_custom_types); sipError = sipErrorFail; } else { if (!ct->py_func) { ct->py_func = a0; Py_INCREF(a0); } sipCpp->setCustomType(ct->func); } #line 401 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtCore/sipQtCoreQEasingCurve.cpp" if (sipError == sipErrorFail) return 0; if (sipError == sipErrorNone) { Py_INCREF(Py_None); return Py_None; } sipAddException(sipError, &sipParseErr); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_setCustomType, doc_QEasingCurve_setCustomType); return NULL; }
static void *init_type_QMatrix3x4(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr) { QMatrix3x4 *sipCpp = 0; { if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "")) { sipCpp = new QMatrix3x4(); return sipCpp; } } { const QMatrix3x4* a0; if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMatrix3x4, &a0)) { sipCpp = new QMatrix3x4(*a0); return sipCpp; } } { PyObject * a0; if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "P0", &a0)) { sipErrorState sipError = sipErrorNone; #line 352 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\sip/QtGui/qgenericmatrix.sip" PYQT_FLOAT values[12]; if ((sipError = qtgui_matrixDataFromSequence(a0, 12, values)) == sipErrorNone) sipCpp = new QMatrix3x4(values); #line 718 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtGui/sipQtGuiQMatrix3x4.cpp" if (sipError == sipErrorNone) return sipCpp; if (sipUnused) { Py_XDECREF(*sipUnused); } sipAddException(sipError, sipParseErr); if (sipError == sipErrorFail) return NULL; } } return NULL; }
static PyObject *slot_QMatrix3x4___getitem__(PyObject *sipSelf,PyObject *sipArg) { QMatrix3x4 *sipCpp = reinterpret_cast<QMatrix3x4 *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMatrix3x4)); if (!sipCpp) return 0; PyObject *sipParseErr = NULL; { PyObject * a0; if (sipParseArgs(&sipParseErr, sipArg, "1P0", &a0)) { PyObject * sipRes = 0; sipErrorState sipError = sipErrorNone; #line 422 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\sip/QtGui/qgenericmatrix.sip" int row, column; if ((sipError = qtgui_matrixParseIndex(a0, 3, 4, &row, &column)) == sipErrorNone) { sipRes = PyFloat_FromDouble(sipCpp->operator()(row, column)); if (!sipRes) sipError = sipErrorFail; } #line 518 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtGui/sipQtGuiQMatrix3x4.cpp" if (sipError == sipErrorFail) return 0; if (sipError == sipErrorNone) { return sipRes; } sipAddException(sipError, &sipParseErr); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_QMatrix3x4, sipName___getitem__, NULL); return 0; }
static PyObject *meth_QMatrix4x2_copyDataTo(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = NULL; { const QMatrix4x2 *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMatrix4x2, &sipCpp)) { PyObject * sipRes = 0; sipErrorState sipError = sipErrorNone; #line 270 "/Users/ktaylora/PLJV/tillage_likelihood_model/gui/PyQt4/sip/QtGui/qgenericmatrix.sip" PYQT_FLOAT values[8]; sipCpp->copyDataTo(values); sipError = qtgui_matrixDataAsList(8, values, &sipRes); #line 99 "/Users/ktaylora/PLJV/tillage_likelihood_model/gui/PyQt4/QtGui/sipQtGuiQMatrix4x2.cpp" if (sipError == sipErrorFail) return 0; if (sipError == sipErrorNone) { return sipRes; } sipAddException(sipError, &sipParseErr); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_QMatrix4x2, sipName_copyDataTo, doc_QMatrix4x2_copyDataTo); return NULL; }
static PyObject *meth_QMatrix2x3_copyDataTo(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = NULL; { const QMatrix2x3 *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMatrix2x3, &sipCpp)) { PyObject * sipRes = 0; sipErrorState sipError = sipErrorNone; #line 1017 "/home/vikky/Desktop/DVCS/stuff/scrapy/soft/PyQt-x11-gpl-4.11.4/sip/QtGui/qgenericmatrix.sip" PYQT_FLOAT values[6]; sipCpp->copyDataTo(values); sipError = qtgui_matrixDataAsList(6, values, &sipRes); #line 96 "/home/vikky/Desktop/DVCS/stuff/scrapy/soft/PyQt-x11-gpl-4.11.4/QtGui/sipQtGuiQMatrix2x3.cpp" if (sipError == sipErrorFail) return 0; if (sipError == sipErrorNone) { return sipRes; } sipAddException(sipError, &sipParseErr); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_QMatrix2x3, sipName_copyDataTo, doc_QMatrix2x3_copyDataTo); return NULL; }
static PyObject *meth_QMatrix2x4_copyDataTo(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = NULL; { const ::QMatrix2x4 *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMatrix2x4, &sipCpp)) { PyObject * sipRes = 0; sipErrorState sipError = sipErrorNone; #line 869 "/home/thais/Faculdade/TCC/NEW/PyQt4_gpl_x11-4.12/sip/QtGui/qgenericmatrix.sip" PYQT_FLOAT values[8]; sipCpp->copyDataTo(values); sipError = qtgui_matrixDataAsList(8, values, &sipRes); #line 96 "/home/thais/Faculdade/TCC/NEW/PyQt4_gpl_x11-4.12/QtGui/sipQtGuiQMatrix2x4.cpp" if (sipError == sipErrorFail) return 0; if (sipError == sipErrorNone) { return sipRes; } sipAddException(sipError, &sipParseErr); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_QMatrix2x4, sipName_copyDataTo, doc_QMatrix2x4_copyDataTo); return NULL; }
static PyObject *meth_QMatrix3x4_copyDataTo(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = NULL; { const QMatrix3x4 *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMatrix3x4, &sipCpp)) { PyObject * sipRes = 0; sipErrorState sipError = sipErrorNone; #line 424 "/Users/Kunwiji/Dropbox/Spectroscopy_paper/PyQt-mac-gpl-4.11.2/sip/QtGui/qgenericmatrix.sip" PYQT_FLOAT values[12]; sipCpp->copyDataTo(values); sipError = qtgui_matrixDataAsList(12, values, &sipRes); #line 99 "/Users/Kunwiji/Dropbox/Spectroscopy_paper/PyQt-mac-gpl-4.11.2/QtGui/sipQtGuiQMatrix3x4.cpp" if (sipError == sipErrorFail) return 0; if (sipError == sipErrorNone) { return sipRes; } sipAddException(sipError, &sipParseErr); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_QMatrix3x4, sipName_copyDataTo, doc_QMatrix3x4_copyDataTo); return NULL; }
static PyObject *meth_QMatrix2x2_copyDataTo(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = NULL; { QMatrix2x2 *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMatrix2x2, &sipCpp)) { PyObject * sipRes = 0; sipErrorState sipError = sipErrorNone; #line 1014 "/home/tsheasha/GUC/Bachelors/android-python27/python-build/PyQt-x11-gpl-4.8/sip/QtGui/qgenericmatrix.sip" qreal values[4]; sipCpp->copyDataTo(values); sipError = qtgui_matrixDataAsList(4, values, &sipRes); #line 97 "sipQtGuiQMatrix2x2.cpp" if (sipError == sipErrorFail) return 0; if (sipError == sipErrorNone) { return sipRes; } sipAddException(sipError, &sipParseErr); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_QMatrix2x2, sipName_copyDataTo, NULL); return NULL; }
static PyObject *meth_QMatrix3x4_copyDataTo(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = NULL; { const QMatrix3x4 *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMatrix3x4, &sipCpp)) { PyObject * sipRes = 0; sipErrorState sipError = sipErrorNone; #line 414 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\sip/QtGui/qgenericmatrix.sip" PYQT_FLOAT values[12]; sipCpp->copyDataTo(values); sipError = qtgui_matrixDataAsList(12, values, &sipRes); #line 94 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtGui/sipQtGuiQMatrix3x4.cpp" if (sipError == sipErrorFail) return 0; if (sipError == sipErrorNone) { return sipRes; } sipAddException(sipError, &sipParseErr); } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_QMatrix3x4, sipName_copyDataTo, doc_QMatrix3x4_copyDataTo); return NULL; }