fix problem with containers reported by John Koleszar

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-06 21:37:59 +00:00
commit 957a405574
2 changed files with 8 additions and 8 deletions

View file

@ -699,7 +699,7 @@ namespace swig {
*seq = pseq;
return SWIG_NEWOBJ;
} else {
return pyseq.check();
return pyseq.check() ? SWIG_OK : SWIG_ERROR;
}
} catch (std::exception& e) {
if (seq) {