macro logic fix from Robert De Vries
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a0cb4442d7
commit
01701253f1
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@
|
||||||
} else {
|
} else {
|
||||||
SWIG_fail;
|
SWIG_fail;
|
||||||
} %}
|
} %}
|
||||||
#elif
|
#else
|
||||||
%include "exception.i"
|
%include "exception.i"
|
||||||
%typemap(throws) std::out_of_range %{
|
%typemap(throws) std::out_of_range %{
|
||||||
SWIG_exception(SWIG_IndexError, $1.what()); %}
|
SWIG_exception(SWIG_IndexError, $1.what()); %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue