Scilab: fix tests failing in 5.3.3 (conflict with Scilab function Error)
This commit is contained in:
parent
7a0aaa39b3
commit
67d4079e1f
2 changed files with 12 additions and 0 deletions
|
|
@ -1,5 +1,11 @@
|
||||||
%module constructor_exception
|
%module constructor_exception
|
||||||
|
|
||||||
|
#ifdef SWIGSCILAB
|
||||||
|
%inline %{
|
||||||
|
#undef Error
|
||||||
|
%}
|
||||||
|
#endif
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
class Error {
|
class Error {
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,12 @@
|
||||||
%warnfilter(SWIGWARN_PARSE_KEYWORD) Namespace;
|
%warnfilter(SWIGWARN_PARSE_KEYWORD) Namespace;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef SWIGSCILAB
|
||||||
|
%inline %{
|
||||||
|
#undef Error
|
||||||
|
%}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Tests SWIG's automatic exception mechanism
|
// Tests SWIG's automatic exception mechanism
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue