Commit 9db353bb authored by Jean-Christophe Fillion-Robin's avatar Jean-Christophe Fillion-Robin Committed by Kitware Robot
Browse files

Merge topic 'wrap-vector'

b2f75f79

 Wrapper build failed for pointers to vectors.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Jean-Christophe Fillion-Robin's avatarJean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Merge-request: !4664
parents 3252f38a b2f75f79
......@@ -481,7 +481,9 @@ static int vtkWrapPython_IsValueWrappable(
}
}
if (vtkWrap_IsStdVector(val))
/* wrap std::vector<T> (IsScalar means "not pointer or array") */
if (vtkWrap_IsStdVector(val) &&
vtkWrap_IsScalar(val))
{
size_t l, n;
const char *tname;
......
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