Namespace changes - Important!
David Beazley <beazley <at> cs.uchicago.edu>
2002-04-01 05:44:54 GMT
I just made a massive checkin that includes support for C++
namespaces. To make this work, I had to rewrite part of the type
system and make huge changes to internal symbol table management.
However, as far as I know, SWIG now supports C++ namespaces with using
declarations, aliases, and everything else. There are still
some unresolved issues (e.g.,templates), but everything else seems to work.
SWIG is passing the test-suite on my Linux machine. However, please
let me know if you run into major problems after all of these
changes.
This modification was pretty horrible. I'll have more to say about
it later, but I'm not so sure I want to consider special language
module support for namespaces unless there is overwhelming demand for
it (I sure hope not). The current implementation should be good
enough to handle most normal uses.
Cheers,
Dave