add director+thread case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c5f25b9168
commit
4f7690c2df
2 changed files with 51 additions and 0 deletions
11
SWIG/Examples/test-suite/python/director_thread_runme.py
Normal file
11
SWIG/Examples/test-suite/python/director_thread_runme.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from director_thread import Foo
|
||||
|
||||
class Derived(Foo) :
|
||||
def __init__(self):
|
||||
Foo.__init__(self)
|
||||
print "too"
|
||||
def do_foo(self):
|
||||
print "at drived class"
|
||||
|
||||
d = Derived()
|
||||
d.run()
|
||||
Loading…
Add table
Add a link
Reference in a new issue