fix directorout typemap for const std::string&. Adding warning about the new typemap, which is not thread safe
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
89bdd6f63b
commit
c98340f0a7
7 changed files with 73 additions and 5 deletions
12
Examples/test-suite/python/director_string_runme.py
Normal file
12
Examples/test-suite/python/director_string_runme.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from director_string import *
|
||||
|
||||
class B(A):
|
||||
def __init__(self,string):
|
||||
A.__init__(self,string)
|
||||
|
||||
|
||||
|
||||
b = B("hello")
|
||||
|
||||
b.get(0)
|
||||
b.get_first()
|
||||
Loading…
Add table
Add a link
Reference in a new issue