Merge branch 'clang_fixes' of github.com:marvingreenberg/swig into marvingreenberg-clang_fixes

This commit is contained in:
William S Fulton 2014-02-15 22:37:40 +00:00
commit 078dbf8d22
18 changed files with 182 additions and 21 deletions

View file

@ -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
};
}
%}
%}