------------------------------------------------------------------------------ Checking size of string arg.
| 1605 | //------------------------------------------------------------------------------ |
| 1606 | // Checking size of string arg. |
| 1607 | size_t vtkPythonArgs::GetStringSize(int i) |
| 1608 | { |
| 1609 | size_t size = 0; |
| 1610 | if (this->M + i < this->N) |
| 1611 | { |
| 1612 | PyObject* o = PyTuple_GetItem(this->Args, this->M + i); |
| 1613 | size = vtkPythonGetStringSize(o); |
| 1614 | if (size == 0 && PySequence_Check(o)) |
| 1615 | { |
| 1616 | size = PySequence_Size(o); |
| 1617 | } |
| 1618 | } |
| 1619 | return size; |
| 1620 | } |
| 1621 | |
| 1622 | //------------------------------------------------------------------------------ |
| 1623 | // Check if 'm' equals 'n', and report an error for arg i if not. |
nothing calls this directly
no test coverage detected