add implicitconv support and cosmetics for cast rank

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-27 22:06:26 +00:00
commit e4637545e3
24 changed files with 484 additions and 308 deletions

View file

@ -702,7 +702,7 @@ namespace swig {
PyErr_SetString(PyExc_TypeError, e.what());
}
}
return 0;
return SWIG_ERROR;
}
} else {
sequence *p;
@ -716,7 +716,7 @@ namespace swig {
PyErr_Format(PyExc_TypeError, "a %s is expected",
swig::type_name<sequence>());
}
return 0;
return SWIG_ERROR;
}
};