blob: b7307cb29bf6d0116ab7b5c79afb3156fca81a89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
%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;
};
%}
|