scilab: fix li_std_string test regression
This commit is contained in:
parent
7f989a968b
commit
e53f1488a7
2 changed files with 6 additions and 5 deletions
|
|
@ -46,14 +46,11 @@
|
|||
%raise(obj, "$type", $descriptor);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
%typemap(throws, noblock=1) SWIGTYPE,
|
||||
SWIGTYPE*,
|
||||
SWIGTYPE [ANY],
|
||||
SWIGTYPE & {
|
||||
%raise(NULL, "$type", $descriptor);
|
||||
%raise((char*)NULL, "$type", $descriptor);
|
||||
}
|
||||
|
||||
%typemap(throws, noblock=1) (...) {
|
||||
|
|
|
|||
|
|
@ -234,7 +234,6 @@ SWIG_Scilab_ErrorMsg(int code, const char *msg)
|
|||
|
||||
#define SWIG_fail return SWIG_ERROR;
|
||||
|
||||
|
||||
SWIGRUNTIME int
|
||||
SwigScilabRaise(const char *obj, const char *type, swig_type_info *descriptor) {
|
||||
if (type) {
|
||||
|
|
@ -245,6 +244,11 @@ SwigScilabRaise(const char *obj, const char *type, swig_type_info *descriptor) {
|
|||
}
|
||||
}
|
||||
|
||||
SWIGRUNTIME int
|
||||
SwigScilabRaise(const int obj, const char *type, swig_type_info *descriptor) {
|
||||
Scierror(999, "Exception (%s) occured.\n", type);
|
||||
}
|
||||
|
||||
#define SWIG_Scilab_Raise(obj, type, descriptor) SwigScilabRaise(obj, type, descriptor)
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue