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
/
python
/
director_unroll_runme.py
1
import director_unroll
2
3
class MyFoo(director_unroll.Foo):
4
def ping(self):
5
return "MyFoo::ping()"
6
7
8
a = MyFoo()
9
10
b = director_unroll.Bar()
11
12
b.set(a)
13
c = b.get()
14
15
16
if not (a.this == c.this):
17
print a, c
18
raise RuntimeError
19