add None ptr case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1f3d73a0b0
commit
be31340148
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ if va[3].f(1) != 8:
|
||||||
ip = PtrInt()
|
ip = PtrInt()
|
||||||
ap = new_ArrInt(10)
|
ap = new_ArrInt(10)
|
||||||
|
|
||||||
vi = IntPtrVector((ip,ap,None))
|
vi = IntPtrVector((ip,ap,None,(2,3)))
|
||||||
|
|
||||||
if vi[1] != ap:
|
if vi[1] != ap:
|
||||||
raise RuntimeError,"bad std::vector<int*> mapping"
|
raise RuntimeError,"bad std::vector<int*> mapping"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue