git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
12 lines
312 B
OpenEdge ABL
12 lines
312 B
OpenEdge ABL
%module enum_rename
|
|
|
|
%warnfilter(SWIGWARN_PARSE_REDEFINED) S_May;
|
|
|
|
// %rename with rxspencer can do the equivalent of these two renames, which was resulting in uncompileable code
|
|
%rename(May) M_May;
|
|
%rename(May) S_May;
|
|
|
|
%inline %{
|
|
enum Month { M_Jan, M_May, M_Dec };
|
|
enum Severity { S_May, S_Can, S_Must };
|
|
%}
|