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
/
octave
/
smart_pointer_typedef_runme.m
1
smart_pointer_typedef
2
3
f = Foo();
4
b = Bar(f);
5
6
b.x = 3;
7
if (b.getx() != 3)
8
error
9
endif
10
11
fp = b.__deref__();
12
fp.x = 4;
13
if (fp.getx() != 4)
14
error
15
endif