From ce6516fb4ca0b749b6614dce67302d0cdf1e746e Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sun, 13 Mar 2011 00:32:26 +0000 Subject: [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 --- Examples/test-suite/nspace_extend.i | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Examples/test-suite/nspace_extend.i') 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) {} } -- cgit v1.2.1