scilab: use SWIG_Scilab_Raise() for exceptions
This commit is contained in:
parent
caeaf7dc7e
commit
460e737df1
1 changed files with 2 additions and 2 deletions
|
|
@ -297,8 +297,8 @@ namespace swig
|
|||
|
||||
%typemap(throws, noblock=1) stop_iteration
|
||||
{
|
||||
Scierror(999, "%s: stop_iteration exception", SWIG_Scilab_GetFname());
|
||||
SWIG_fail;
|
||||
SWIG_Scilab_Raise(0, "stop_iteration", NULL);
|
||||
return SWIG_ERROR;
|
||||
}
|
||||
|
||||
// Mark methods that return new objects
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue