From 51c9ee4b45663afd0a3505c3d8d1c811c5e69ed4 Mon Sep 17 00:00:00 2001 From: Simon Marchetto Date: Wed, 9 Apr 2014 10:31:16 +0200 Subject: [PATCH] scilab: use overrided SWIG_exception macro --- Lib/scilab/scicontainer.swg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/scilab/scicontainer.swg b/Lib/scilab/scicontainer.swg index 2701781fc..71e83240b 100644 --- a/Lib/scilab/scicontainer.swg +++ b/Lib/scilab/scicontainer.swg @@ -65,7 +65,7 @@ namespace swig } catch (std::exception& e) { - SWIG_Scilab_ErrorMsg(SWIG_RuntimeError, e.what()); + SWIG_exception(SWIG_RuntimeError, e.what()); } } @@ -395,7 +395,7 @@ namespace swig { } catch (std::exception& e) { - SWIG_Scilab_ErrorMsg(SWIG_RuntimeError, e.what()); + SWIG_exception(SWIG_RuntimeError, e.what()); } } } @@ -436,7 +436,7 @@ namespace swig { } catch (std::exception& e) { - SWIG_Scilab_ErrorMsg(SWIG_RuntimeError, e.what()); + SWIG_exception(SWIG_RuntimeError, e.what()); } } };