Use the system angle brackets for %include
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
55a48adb5b
commit
cfdad24993
52 changed files with 132 additions and 134 deletions
|
|
@ -5,7 +5,7 @@
|
|||
%{
|
||||
#include <stdexcept>
|
||||
%}
|
||||
%include "exception.i"
|
||||
%include <exception.i>
|
||||
|
||||
%typemap(throws) std::out_of_range %{
|
||||
SWIG_exception(SWIG_IndexError, $1.what()); %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue