Fix testcase warning for languages that don't fully support nested classes
This commit is contained in:
parent
7cc5307199
commit
1e11085d5f
1 changed files with 5 additions and 0 deletions
|
|
@ -9,6 +9,11 @@
|
||||||
%interface(IA)
|
%interface(IA)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(SWIGCSHARP) && !defined(SWIGJAVA)
|
||||||
|
%feature ("flatnested");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
struct IA {};
|
struct IA {};
|
||||||
struct B { struct N : IA {}; };
|
struct B { struct N : IA {}; };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue