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

Function Sbk_AppFunc_resetProject

Engine/NatronEngine/app_wrapper.cpp:829–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

isValidFunction · 0.85
resetProjectMethod · 0.45

Tested by

no test coverage detected