projects
/
external
/
swig.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import source from 1.3.40
[external/swig.git]
/
Examples
/
test-suite
/
immutable.i
1
// test to make sure setters are not generated for constants
2
3
%module immutable
4
5
6
%immutable;
7
%mutable;
8
9
%inline %{
10
#define ABC -11
11
enum count {Zero, One, Two}; %}
12
13
14
%clearimmutable;
15
16
%inline %{
17
#define XYZ -22
18
enum backwards {Tre=3, Duo=2, Uno=1};
19
%}
20