<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 11, 2015 at 3:21 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi David,<div><br></div><div>The wrappers understand but ignore the "using" directive.  So, yeah, wrapper</div><div>changes would be needed to support it.  For example, I have wrapper code on</div><div>github that pulls in the header files for all the superclasses so that it can link</div><div>used methods from the superclass namespace.</div><div><br></div><div>What was your original macro? In general, the wrappers should be able to</div><div>handle most macros without any problems.</div></div></blockquote><div><br></div><div>I've actually already stripped it out in favor of the much simpler "using" method. Good to know that simple macros should work -- it's entirely possible there was some little bug hidden in my macro that was throwing off the wrappers ;)</div><div><br></div><div>Perhaps it was the pattern:</div><div><br></div><div>VTK_LEGACY(virtual double* GetBounds()) \</div><div>{ \</div><div>  ... \</div><div>}</div><div><br></div><div>that was causing confusion? I'm not sure if the VTK_LEGACY macro should be used with an inline definition...</div><div><br></div><div>Anyway, it looks like this is all working now :) Thanks for the replies!</div><div><br></div><div>Dave</div><div><br></div></div></div></div>