Made set_err false by default, as that gives a better overloaded

message.  Unfortunately, in ruby we cannot concatenate exception
messages as in python.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Gonzalo Garramuno 2008-01-19 04:41:46 +00:00
commit c7ec8c691d

View file

@ -398,7 +398,7 @@ namespace swig
return const_reference(_seq, n);
}
bool check(bool set_err = true) const
bool check(bool set_err = false) const
{
int s = (int) size();
for (int i = 0; i < s; ++i) {