MCPcopy Create free account
hub / github.com/Kitware/VTK / CloseArchive

Method CloseArchive

Common/Python/vtkPythonArchiver.cxx:126–139  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

124
125//------------------------------------------------------------------------------
126void vtkPythonArchiver::CloseArchive()
127{
128 vtkPythonScopeGilEnsurer gilEnsurer;
129 const char* mname = "CloseArchive";
130 VTK_GET_METHOD(method, this->Object, mname, )
131
132 PyObject* vtkself = VTKToPython(this);
133 vtkSmartPyObject args(PyTuple_Pack(1, vtkself));
134 Py_DECREF(vtkself);
135
136 vtkSmartPyObject result(PyObject_Call(method, args, nullptr));
137
138 CheckResult(mname, result);
139}
140
141//------------------------------------------------------------------------------
142void vtkPythonArchiver::InsertIntoArchive(

Callers

nothing calls this directly

Calls 2

VTKToPythonFunction · 0.70
CheckResultFunction · 0.50

Tested by

no test coverage detected