swig/Examples/test-suite/cpp0x_unrestricted_unions.i
2009-07-22 17:48:38 +00:00

16 lines
188 B
OpenEdge ABL

%module cpp0x_unrestricted_unions
%inline %{
struct point {
// point() {}
// point(int x, int y) : x_(x), y_(y) {}
int x_, y_;
};
union P {
int z;
double w;
point p;
} p1;
%}