diff options
author | David Nadlinger <code@klickverbot.at> | 2011-03-13 00:32:26 +0000 |
---|---|---|
committer | David Nadlinger <code@klickverbot.at> | 2011-03-13 00:32:26 +0000 |
commit | ce6516fb4ca0b749b6614dce67302d0cdf1e746e (patch) | |
tree | 14a27a24574ccaa1c5607ffbf4c7ca1ef1d58da7 /Examples/test-suite/nspace_extend.i | |
parent | a63cde3827e6c86ca4de28b25a7d3a29cbebc1ca (diff) | |
download | swig-ce6516fb4ca0b749b6614dce67302d0cdf1e746e.tar.gz |
[D] nspace support.
As for C# and Java, this doesn't work for free functions/variables yet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/test-suite/nspace_extend.i')
-rw-r--r-- | Examples/test-suite/nspace_extend.i | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Examples/test-suite/nspace_extend.i b/Examples/test-suite/nspace_extend.i index 88f40bc69..47ede95d0 100644 --- a/Examples/test-suite/nspace_extend.i +++ b/Examples/test-suite/nspace_extend.i @@ -2,7 +2,7 @@ %module nspace_extend // nspace feature only supported by these languages -#if defined(SWIGJAVA) || defined(SWIGCSHARP) +#if defined(SWIGJAVA) || defined(SWIGCSHARP) || defined(SWIGD) %nspace; @@ -39,10 +39,10 @@ namespace Outer { void colorInstanceMethod(double d) {} static void colorStaticMethod(double d) {} - void colors(const Inner1::Color& col1a, - const Outer::Inner1::Color& col1b, - const Color &col2a, - const Inner2::Color& col2b, + void colors(const Inner1::Color& col1a, + const Outer::Inner1::Color& col1b, + const Color &col2a, + const Inner2::Color& col2b, const Outer::Inner2::Color& col2c) {} } |