A GitLab update will be applied today, 9/24. The site may be slow between 12pm - 12:45pm Fri 9/24 EDT (UTC -400).

Commit 287393bf authored by David Gobbi's avatar David Gobbi Committed by Marcus D. Hanwell
Browse files

COMP: missing ifdef Py_USING_UNICODE

parent 2f0b06e9
......@@ -432,10 +432,12 @@ int vtkPythonUtil::CheckArg(
penalty = VTK_PYTHON_INCOMPATIBLE;
}
}
#ifdef Py_USING_UNICODE
else if (PyUnicode_Check(arg))
{
penalty = VTK_PYTHON_NEEDS_CONVERSION;
}
#endif
else if (!PyString_Check(arg))
{
penalty = VTK_PYTHON_INCOMPATIBLE;
......@@ -487,7 +489,6 @@ int vtkPythonUtil::CheckArg(
}
#endif
// callback functions
else if (name[0] == 'f' && strcmp(classname, "func") == 0)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment