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:
parent
bc94eeb6a0
commit
c7ec8c691d
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ namespace swig
|
||||||
return const_reference(_seq, n);
|
return const_reference(_seq, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool check(bool set_err = true) const
|
bool check(bool set_err = false) const
|
||||||
{
|
{
|
||||||
int s = (int) size();
|
int s = (int) size();
|
||||||
for (int i = 0; i < s; ++i) {
|
for (int i = 0; i < s; ++i) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue