adding more missing typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b20da5456b
commit
b301617976
7 changed files with 67 additions and 1 deletions
|
|
@ -94,3 +94,10 @@ v = vecStr(["hello ", "world"])
|
|||
if v[0] != 'hello world':
|
||||
raise RuntimeError,"bad std::string+std::vector"
|
||||
|
||||
|
||||
|
||||
pv = pyvector([1, "hello", (1,2)])
|
||||
|
||||
if pv[1] != "hello":
|
||||
raise RuntimeError
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue