Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/union_scope.i
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

15 lines
312 B
OpenEdge ABL

%module union_scope
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) nRState; // Ruby, wrong class name
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) nRState_rstate; // Ruby, wrong class name
#pragma SWIG nowarn=SWIGWARN_PARSE_UNNAMED_NESTED_CLASS
%inline %{
class nRState {
public:
union {
int i;
} rstate;
};
%}