Commit b29fbbf5 authored by David Gobbi's avatar David Gobbi

Add zerocopy check to char pointer

This was overlooked earlier.
parent 00a445be
......@@ -65,7 +65,8 @@ int vtkWrap_IsVoidPointer(ValueInfo *val)
int vtkWrap_IsCharPointer(ValueInfo *val)
{
unsigned int t = (val->Type & VTK_PARSE_BASE_TYPE);
return (t == VTK_PARSE_CHAR && vtkWrap_IsPointer(val));
return (t == VTK_PARSE_CHAR && vtkWrap_IsPointer(val) &&
(val->Type & VTK_PARSE_ZEROCOPY) == 0);
}
int vtkWrap_IsPODPointer(ValueInfo *val)
......
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