Regarding the macro expansion, it may be worth looking into the following class: <a href="http://qt.gitorious.org/qt-creator/qt-creator/blobs/master/src/libs/cplusplus/pp-macro-expander.h" target="_blank">http://qt.gitorious.org/qt-creator/qt-creator/blobs/master/src/libs/cplusplus/pp-macro-expander.h</a><br>


<br>Hth<br>Jc<br><br><div class="gmail_quote">On Mon, Jul 25, 2011 at 1:39 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: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div>On Fri, Jul 22, 2011 at 6:13 PM, David Lonie <<a href="mailto:loniedavid@gmail.com" target="_blank">loniedavid@gmail.com</a>> wrote:<br>
<br>
</div><div>> I'd like to ask for opinions on the following patch:<br>
><br>
> <a href="http://github.com/dlonie/VTK/commit/6fd3b1c50244174d2ecb2e8bf4ae40996b0f61d6" target="_blank">http://github.com/dlonie/VTK/commit/6fd3b1c50244174d2ecb2e8bf4ae40996b0f61d6</a><br>
<br>
</div>A couple quick notes re: wrapping.  The current wrappers will not be<br>
able to wrap this class because<br>
1) the wrappers do not perform macro expansion (except in ifdefs)<br>
2) the wrappers do not wrap classes in #included files<br>
3) the "+" and "-" operators are not wrapped<br>
<br>
None of these issues are insurmountable, I know how to fix them but do<br>
not know when I might have time.  So I'd just like to warn you that,<br>
for now, the wrappers will not allow you to use a macro for a class<br>
name.<br>
<font color="#888888"><br>
 - David<br>
</font><div><div></div><div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="tel:%2B1%20919%20869%208849" value="+19198698849" target="_blank">+1 919 869 8849</a><br><br>