accept None in std::vector<A*>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-04-07 01:20:41 +00:00
commit 7ac0a7f883
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ if bv[0] != bv[2]:
raise RuntimeError,"bad std::vector<bool> mapping"
b = B(5)
va = VecA([b,b,b,b])
va = VecA([b,None,b,b])
if va[0].f(1) != 6:
raise RuntimeError,"bad std::vector<A*> mapping"