scilab: fix error message in macro
This commit is contained in:
parent
38cd5bd405
commit
e82225608e
1 changed files with 2 additions and 2 deletions
|
|
@ -255,12 +255,12 @@ SWIG_Scilab_ErrorType(int code) {
|
||||||
SWIGINTERN void
|
SWIGINTERN void
|
||||||
SWIG_Scilab_ErrorMsg(int code, const char *msg)
|
SWIG_Scilab_ErrorMsg(int code, const char *msg)
|
||||||
{
|
{
|
||||||
Scierror(999, _("SWIG/Scilab %s: %s\n."), SWIG_Scilab_ErrorType(code), msg);
|
Scierror(999, _("SWIG/Scilab %s: %s.\n"), SWIG_Scilab_ErrorType(code), msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define SWIG_fail return SWIG_ERROR;
|
#define SWIG_fail return SWIG_ERROR;
|
||||||
#define SWIG_ErrorType(code) SWIG_Scilab_ErrorType(code)
|
#define SWIG_ErrorType(code) SWIG_Scilab_ErrorType(code)
|
||||||
#define SWIG_Error(code, msg) SWIG_Scilab_ErrorMsg(code,msg)
|
#define SWIG_Error(code, msg) SWIG_Scilab_ErrorMsg(code, msg)
|
||||||
|
|
||||||
#define SWIG_Scilab_Raise(obj, type, desc) SwigScilabRaise(type)
|
#define SWIG_Scilab_Raise(obj, type, desc) SwigScilabRaise(type)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue