[Paraview-developers] Exclude code from Python wrapping?

David Lonie david.lonie at kitware.com
Thu Mar 26 12:00:59 EDT 2015


On Thu, Mar 26, 2015 at 11:06 AM, Ken Martin <ken.martin at kitware.com> wrote:

> Anyone know how to suppress wrapping part of a header file?
>
>
>
> I have in  a header file the following code...
>
>
>
> //BTX
>
> #ifndef VTKGL2
>
>   // Description:
>
>   // Get/Set the painter that does the actual rendering.
>
>   void SetPainter(vtkPainter*);
>
>   vtkGetObjectMacro(Painter, vtkPainter);
>
> #endif
>
> //ETX
>

FWIW, I believe

#ifndef __WRAP__
#endif // __WRAP__

have replaced

// BTX
// ETX

(at least for VTK).

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20150326/4124f8c4/attachment.html>


More information about the Paraview-developers mailing list