/usr/lib/cmake/vtk-6.3/vtkWrapPython.sip.in is in libvtk6-dev 6.3.0+dfsg1-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | %MappedType @VTK_CLASS@ /AllowNone, NoRelease/
{
%TypeHeaderCode
#include "@VTK_CLASS@.h"
#include "vtkPythonUtil.h"
%End
%ConvertToTypeCode
if(!sipIsErr)
{
return NULL == vtkPythonUtil::GetPointerFromObject(sipPy, "@VTK_CLASS@") ? 0 : 1;
}
*sipCppPtr = static_cast<@VTK_CLASS@*>(vtkPythonUtil::GetPointerFromObject(sipPy, "@VTK_CLASS@"));
return 0;
%End
%ConvertFromTypeCode
return vtkPythonUtil::GetObjectFromPointer(sipCpp);
%End
};
|