add string case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
877535badf
commit
a923a51bd6
2 changed files with 13 additions and 0 deletions
|
|
@ -89,3 +89,8 @@ if v.size() != 0:
|
|||
raise RuntimeError,"bad getslice"
|
||||
|
||||
|
||||
|
||||
v = vecStr(["hello ", "world"])
|
||||
if v[0] != 'hello world':
|
||||
raise RuntimeError,"bad std::string+std::vector"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue