git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
19 lines
225 B
Python
19 lines
225 B
Python
import director_unroll
|
|
|
|
class MyFoo(director_unroll.Foo):
|
|
def ping(self):
|
|
return "MyFoo::ping()"
|
|
|
|
|
|
a = MyFoo()
|
|
|
|
b = director_unroll.Bar()
|
|
|
|
b.set(a)
|
|
c = b.get()
|
|
|
|
|
|
if not (a.this == c.this):
|
|
print a, c
|
|
raise RuntimeError
|
|
|