diff options
| author | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-10-03 08:05:16 +0000 |
|---|---|---|
| committer | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-10-03 08:05:16 +0000 |
| commit | 6f7b4264d9fa80aba1ea124156516a38d8ec0da1 (patch) | |
| tree | d51b7a3a5a0fed5c10805641a06b35eee08a3573 | |
| parent | eee077c0e2f6e8a05803afb48ad5af4c2d01cde7 (diff) | |
| download | lasso-6f7b4264d9fa80aba1ea124156516a38d8ec0da1.tar.gz lasso-6f7b4264d9fa80aba1ea124156516a38d8ec0da1.tar.xz lasso-6f7b4264d9fa80aba1ea124156516a38d8ec0da1.zip | |
Corrected error in exception generation for non-Python bindings.
| -rw-r--r-- | swig/Lasso.i | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/swig/Lasso.i b/swig/Lasso.i index 6a12a2ef..3682867b 100644 --- a/swig/Lasso.i +++ b/swig/Lasso.i @@ -568,7 +568,8 @@ void build_exception_msg(int errorCode, char *errorMsg) { errorCode = $action if (errorCode) { char errorMsg[256]; - SWIG_exception(SWIG_UnknownError, build_exception_msg(errorCode, errorMsg)); + build_exception_msg(errorCode, errorMsg); + SWIG_exception(SWIG_UnknownError, errorMsg); } } %enddef |
