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
20 lines
260 B
OpenEdge ABL
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};
|
|
%}
|
|
|