Restore containers accepting NULL pointers when used in overloaded methods - problem reported by Josh Cherry

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-01-22 23:33:59 +00:00
commit 76229dbab8
3 changed files with 12 additions and 1 deletions

View file

@ -124,3 +124,12 @@ if overloaded2(iv) != "vector<int>":
if overloaded2(dv) != "vector<double>":
raise RuntimeError
if overloaded3(iv) != "vector<int> *":
raise RuntimeError
if overloaded3(None) != "vector<int> *":
raise RuntimeError
if overloaded3(100) != "int":
raise RuntimeError