git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
40 lines
389 B
OpenEdge ABL
40 lines
389 B
OpenEdge ABL
%module nested_class
|
|
|
|
#pragma SWIG nowarn=SWIGWARN_PARSE_NESTED_CLASS
|
|
|
|
%inline %{
|
|
struct Outer {
|
|
struct Inner1 {
|
|
int x;
|
|
};
|
|
|
|
class Inner2 {
|
|
public:
|
|
int x;
|
|
};
|
|
|
|
class {
|
|
public:
|
|
int a;
|
|
};
|
|
|
|
struct {
|
|
int b;
|
|
};
|
|
|
|
union {
|
|
int c;
|
|
double d;
|
|
};
|
|
|
|
class Inner3 {
|
|
public:
|
|
int x;
|
|
} Inner3Name;
|
|
|
|
struct Inner4 {
|
|
int x;
|
|
} Inner4Name;
|
|
};
|
|
|
|
%}
|