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

Function vtkFlush

Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h:193–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193static PyObject* vtkFlush(PyObject* self, PyObject* args)
194{
195 (void)args;
196 if (!self || !PyObject_TypeCheck(self, &vtkPythonStdStreamCaptureHelperType))
197 {
198 return nullptr;
199 }
200
201 vtkPythonStdStreamCaptureHelper* wrapper =
202 reinterpret_cast<vtkPythonStdStreamCaptureHelper*>(self);
203 if (wrapper)
204 {
205 wrapper->Flush();
206 }
207 return Py_BuildValue("");
208}
209
210static PyObject* vtkIsatty(PyObject* self, PyObject* args)
211{

Callers

nothing calls this directly

Calls 1

FlushMethod · 0.45

Tested by

no test coverage detected