2009/6/29 Edward Lam <edward@sidefx.com>

I've noticed that SWIG has support for outputting C# wrappers. But what
about outputting C++ wrappers (from C++ code)? I apologize if this is an
old issue but I'm new to SWIG.

The motivation for doing this is to have some automated way to create
C++ SDK wrappers so that someone can write against such an SDK without
having to recompile their plugin whenever a C++ class changes size/vtable.

Thanks for any pointers in advance!

A few people have suggested this. There is no reason why SWIG couldn't have such a module added to it, but to date no one has developed it. It could possibly be built on top of the C module ... which generates C wrappers around C++ code. The C module is currently incomplete and available in its own branch: http://swig.svn.sourceforge.net/viewvc/swig/branches/gsoc2008-maciekd/ with some documentation here http://swig.svn.sourceforge.net/viewvc/swig/branches/gsoc2008-maciekd/Doc/Manual/C.html?revision=11187.