diff --git a/SWIG/CHANGES.current b/SWIG/CHANGES.current index 21a581d57..ad6bc8d78 100644 --- a/SWIG/CHANGES.current +++ b/SWIG/CHANGES.current @@ -1,6 +1,44 @@ Version 1.3.23 (November 6, 2004) ================================= +10/2/2004: mmatus + + - More fixes for namespace + class declarations. + As an extra bonus, we get %template support for static/members class + methods, ie, now you can say: + + namespace space { + struct A + { + template + static void fooT(Y y) { } + }; + } + + struct B + { + template + void barT(Y y) {} + }; + + %template(foo) space::A::fooT; + %template(foo) space::A::fooT; + %template(foo) space::A::fooT; + + %template(foo) B::barT; + %template(foo) B::barT; + %template(foo) B::barT; + + and call + + A.foo(1) + b = B() + b.bar(1) + + note the the methods are emitted inside the classes, + and hence, the %template name refers to the 'member' + method name, not a global namespace name. + 10/31/2004: mmatus - Solve namespace + class declarations, as in