Merge branch 'clang_fixes' of github.com:marvingreenberg/swig into marvingreenberg-clang_fixes
This commit is contained in:
commit
078dbf8d22
18 changed files with 182 additions and 21 deletions
|
|
@ -7,12 +7,22 @@
|
|||
%inline %{
|
||||
namespace ns {
|
||||
struct Global {
|
||||
#ifdef __clang__
|
||||
struct Outer {
|
||||
struct Nested;
|
||||
struct Nested {
|
||||
int data;
|
||||
};
|
||||
};
|
||||
struct Outer::Nested instance;
|
||||
#else
|
||||
struct Outer {
|
||||
struct Nested;
|
||||
};
|
||||
struct Outer::Nested {
|
||||
int data;
|
||||
} instance;
|
||||
#endif
|
||||
};
|
||||
}
|
||||
%}
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue