| 196 | } |
| 197 | |
| 198 | int vtkPythonAlgorithm::FillOutputPortInformation(int port, vtkInformation* info) |
| 199 | { |
| 200 | vtkPythonScopeGilEnsurer gilEnsurer; |
| 201 | char mname[] = "FillOutputPortInformation"; |
| 202 | VTK_GET_METHOD(method, this->Object, mname, 0) |
| 203 | |
| 204 | PyObject* vtkself = VTKToPython(this); |
| 205 | PyObject* pyport = PyLong_FromLong(port); |
| 206 | PyObject* pyinfo = VTKToPython(info); |
| 207 | vtkSmartPyObject args(PyTuple_Pack(3, vtkself, pyport, pyinfo)); |
| 208 | Py_DECREF(vtkself); |
| 209 | Py_DECREF(pyport); |
| 210 | Py_DECREF(pyinfo); |
| 211 | |
| 212 | vtkSmartPyObject result(PyObject_Call(method, args, nullptr)); |
| 213 | |
| 214 | return CheckResult(mname, result); |
| 215 | } |
| 216 | VTK_ABI_NAMESPACE_END |
nothing calls this directly
no test coverage detected