swig/Examples/test-suite/immutable_values.i
David Nadlinger ee1c2f3ef0 Renamed 'immutable' test-case to 'immutable_values'.
This is a part of the pending merge of the D module, where 'immutable' is a keyword (and thus not a valid module name).

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-18 00:15:13 +00:00

20 lines
260 B
OpenEdge ABL

// test to make sure setters are not generated for constants
%module immutable_values
%immutable;
%mutable;
%inline %{
#define ABC -11
enum count {Zero, One, Two}; %}
%clearimmutable;
%inline %{
#define XYZ -22
enum backwards {Tre=3, Duo=2, Uno=1};
%}