git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
20 lines
253 B
OpenEdge ABL
20 lines
253 B
OpenEdge ABL
// test to make sure setters are not generated for constants
|
|
|
|
%module immutable
|
|
|
|
|
|
%immutable;
|
|
%mutable;
|
|
|
|
%inline %{
|
|
#define ABC -11
|
|
enum count {Zero, One, Two}; %}
|
|
|
|
|
|
%clearimmutable;
|
|
|
|
%inline %{
|
|
#define XYZ -22
|
|
enum backwards {Tre=3, Duo=2, Uno=1};
|
|
%}
|
|
|