| 530 | } |
| 531 | |
| 532 | static PyObject* Sbk_EffectFunc_getFrameRate(PyObject* self) |
| 533 | { |
| 534 | ::Effect* cppSelf = 0; |
| 535 | SBK_UNUSED(cppSelf) |
| 536 | if (!Shiboken::Object::isValid(self)) |
| 537 | return 0; |
| 538 | cppSelf = ((::Effect*)Shiboken::Conversions::cppPointer(SbkNatronEngineTypes[SBK_EFFECT_IDX], (SbkObject*)self)); |
| 539 | PyObject* pyResult = 0; |
| 540 | |
| 541 | // Call function/method |
| 542 | { |
| 543 | |
| 544 | if (!PyErr_Occurred()) { |
| 545 | // getFrameRate()const |
| 546 | double cppResult = const_cast<const ::Effect*>(cppSelf)->getFrameRate(); |
| 547 | pyResult = Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<double>(), &cppResult); |
| 548 | } |
| 549 | } |
| 550 | |
| 551 | if (PyErr_Occurred() || !pyResult) { |
| 552 | Py_XDECREF(pyResult); |
| 553 | return 0; |
| 554 | } |
| 555 | return pyResult; |
| 556 | } |
| 557 | |
| 558 | static PyObject* Sbk_EffectFunc_getInput(PyObject* self, PyObject* pyArg) |
| 559 | { |
nothing calls this directly
no test coverage detected