mirror of https://github.com/swig/swig
Only test nspacemove for languages that support nspace
This commit is contained in:
parent
a3682dd3e5
commit
5d35b97459
|
@ -3,6 +3,8 @@
|
|||
// Tests nested classes for badly configured %nspace, %nonspace, %nspacemove combinations
|
||||
// Based off Examples/test-suite/errors/swig_nspacemove.i
|
||||
|
||||
#if defined(SWIGJAVA) || defined(SWIGCSHARP) || defined(SWIGD) || defined(SWIGLUA) || defined(SWIGJAVASCRIPT)
|
||||
|
||||
#if !defined(SWIGCSHARP) && !defined(SWIGJAVA)
|
||||
%feature ("flatnested");
|
||||
#endif
|
||||
|
@ -199,3 +201,5 @@ namespace Space {
|
|||
};
|
||||
}
|
||||
%}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
%module nspacemove_stl
|
||||
|
||||
#if defined(SWIGJAVA) || defined(SWIGCSHARP) || defined(SWIGD) || defined(SWIGLUA) || defined(SWIGJAVASCRIPT)
|
||||
|
||||
#if defined(SWIGJAVA)
|
||||
SWIG_JAVABODY_PROXY(public, public, SWIGTYPE)
|
||||
#endif
|
||||
|
@ -25,3 +27,5 @@ void test_vector_string(std::vector<std::string> a) {}
|
|||
void test_map_int(std::map<int, int> a) {}
|
||||
void test_map_string(std::map<int, std::string> a) {}
|
||||
%}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue