Test c++17 nested namespaces and %nspace
This commit is contained in:
parent
5c39dcfb28
commit
220247c130
5 changed files with 70 additions and 0 deletions
13
Examples/test-suite/cpp17_nspace_nested_namespaces.i
Normal file
13
Examples/test-suite/cpp17_nspace_nested_namespaces.i
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
%module cpp17_nspace_nested_namespaces
|
||||
|
||||
#if defined(SWIGJAVA)
|
||||
SWIG_JAVABODY_PROXY(public, public, SWIGTYPE)
|
||||
#endif
|
||||
|
||||
// nspace feature only supported by these languages
|
||||
#if defined(SWIGJAVA) || defined(SWIGCSHARP) || defined(SWIGD) || defined(SWIGLUA) || defined(SWIGJAVASCRIPT)
|
||||
%nspace;
|
||||
#endif
|
||||
|
||||
|
||||
%include "cpp17_nested_namespaces.i"
|
||||
Loading…
Add table
Add a link
Reference in a new issue