add missing ; detected by improper inclusion of this file via stl.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e222e63bc2
commit
20af03cd45
1 changed files with 9 additions and 0 deletions
|
|
@ -4,7 +4,16 @@
|
||||||
%include <csharp/std_except.i>
|
%include <csharp/std_except.i>
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
||||||
|
/* avoid to include std/std_except.i unless we really need it */
|
||||||
|
#if !defined(SWIG_STD_EXCEPTIONS_AS_CLASSES)
|
||||||
|
%{
|
||||||
|
#include <stdexcept>
|
||||||
|
%}
|
||||||
|
#else
|
||||||
%include <std/std_except.i>
|
%include <std/std_except.i>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// Typemaps used by the STL wrappers that throw exceptions.
|
// Typemaps used by the STL wrappers that throw exceptions.
|
||||||
// These typemaps are used when methods are declared with an STL
|
// These typemaps are used when methods are declared with an STL
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue