MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / Sbk_AppFunc_resetProject

Function Sbk_AppFunc_resetProject

Engine/Qt4/NatronEngine/app_wrapper.cpp:831–855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

829}
830
831static PyObject* Sbk_AppFunc_resetProject(PyObject* self)
832{
833 AppWrapper* cppSelf = 0;
834 SBK_UNUSED(cppSelf)
835 if (!Shiboken::Object::isValid(self))
836 return 0;
837 cppSelf = (AppWrapper*)((::App*)Shiboken::Conversions::cppPointer(SbkNatronEngineTypes[SBK_APP_IDX], (SbkObject*)self));
838 PyObject* pyResult = 0;
839
840 // Call function/method
841 {
842
843 if (!PyErr_Occurred()) {
844 // resetProject()
845 bool cppResult = cppSelf->resetProject();
846 pyResult = Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), &cppResult);
847 }
848 }
849
850 if (PyErr_Occurred() || !pyResult) {
851 Py_XDECREF(pyResult);
852 return 0;
853 }
854 return pyResult;
855}
856
857static PyObject* Sbk_AppFunc_saveProject(PyObject* self, PyObject* pyArg)
858{

Callers

nothing calls this directly

Calls 2

isValidFunction · 0.85
resetProjectMethod · 0.45

Tested by

no test coverage detected