swig/Examples/test-suite/nested_scope.i
2014-02-03 01:15:05 +04:00

18 lines
No EOL
245 B
OpenEdge ABL

%module nested_scope
#if !defined(SWIGCSHARP) && !defined(SWIGJAVA)
%feature ("flatnested");
#endif
%inline %{
namespace ns {
struct Global {
struct Outer {
struct Nested;
};
struct Outer::Nested {
int data;
} instance;
};
}
%}