Remove nspace feature not yet supported warning
This commit is contained in:
parent
4ba4a02e93
commit
cd2e301ea4
5 changed files with 5 additions and 5 deletions
|
|
@ -23,7 +23,7 @@ namespace TopLevel
|
||||||
#if defined(SWIGJAVA) || defined(SWIGCSHARP) || defined(SWIGD)
|
#if defined(SWIGJAVA) || defined(SWIGCSHARP) || defined(SWIGD)
|
||||||
%nspace;
|
%nspace;
|
||||||
#else
|
#else
|
||||||
#warning nspace feature not yet supported in this target language
|
//#warning nspace feature not yet supported in this target language
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace TopLevel
|
namespace TopLevel
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ namespace TopLevel
|
||||||
%nspace TopLevel::Bar::Foo;
|
%nspace TopLevel::Bar::Foo;
|
||||||
%nspace TopLevel::Bar::FooBar;
|
%nspace TopLevel::Bar::FooBar;
|
||||||
#else
|
#else
|
||||||
#warning nspace feature not yet supported in this target language
|
//#warning nspace feature not yet supported in this target language
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
%feature("director") TopLevel::Bar::Foo;
|
%feature("director") TopLevel::Bar::Foo;
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ namespace TopLevel
|
||||||
%nspace TopLevel::A::Foo;
|
%nspace TopLevel::A::Foo;
|
||||||
%nspace TopLevel::B::Foo;
|
%nspace TopLevel::B::Foo;
|
||||||
#else
|
#else
|
||||||
#warning nspace feature not yet supported in this target language
|
//#warning nspace feature not yet supported in this target language
|
||||||
%ignore TopLevel::B::Foo;
|
%ignore TopLevel::B::Foo;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -104,6 +104,6 @@ void test_classes(Outer::SomeClass c, Outer::Inner2::Color cc) {}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#warning nspace feature not yet supported in this target language
|
//#warning nspace feature not yet supported in this target language
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,6 @@ namespace Outer {
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#warning nspace feature not yet supported in this target language
|
//#warning nspace feature not yet supported in this target language
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue