<div dir="ltr">Hi David,<div><br></div><div>It would be __VTK_WRAP__, the older __WRAP__ macro was deprecated a few months ago because it wasn't possible to tell from its name that it was VTK-specific.</div><div><br></div><div>But excluding this method with an #ifdef shouldn't be necessary, because as long as vtkPainterCommunicator.h is listed in the CMakeLists.txt, the vtkWrapHierarchy tool should see the definition of the class and deduce that it isn't derived from vtkObjectBase.  The wrappers will then automatically skip any methods that refer to it.</div><div><br></div><div>  - David  </div><div><br></div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 12, 2016 at 12:57 AM,  <span dir="ltr"><<a href="mailto:david.froger.ml@mailoo.org" target="_blank">david.froger.ml@mailoo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I made this merge request <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/2251" rel="noreferrer" target="_blank">https://gitlab.kitware.com/vtk<wbr>/vtk/merge_requests/2251</a><br>
that add `#ifndef __WRAP__` `#endif` around methods that should be be wrapped.<br>
</blockquote>
<br></span>
that should *not* be wrapped<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br></div>