From dd7a5a6e6ea41b9d00bab4b3548dd1ed8ccf60a3 Mon Sep 17 00:00:00 2001 From: Daniel Vollmer Date: Sat, 17 Sep 2016 19:01:42 +0200 Subject: [PATCH] Fix missed files --- Lib/guile/std_except.i | 1 + Lib/typemaps/std_except.swg | 1 + 2 files changed, 2 insertions(+) diff --git a/Lib/guile/std_except.i b/Lib/guile/std_except.i index 61bf481a3..6c30a319f 100644 --- a/Lib/guile/std_except.i +++ b/Lib/guile/std_except.i @@ -1,6 +1,7 @@ // TODO: STL exception handling // Note that the generic std_except.i file did not work %{ +#include #include %} diff --git a/Lib/typemaps/std_except.swg b/Lib/typemaps/std_except.swg index cb5ed3050..75d066490 100644 --- a/Lib/typemaps/std_except.swg +++ b/Lib/typemaps/std_except.swg @@ -20,6 +20,7 @@ %enddef namespace std { + %std_exception_map(bad_cast, SWIG_TypeError); %std_exception_map(bad_exception, SWIG_SystemError); %std_exception_map(domain_error, SWIG_ValueError); %std_exception_map(exception, SWIG_SystemError);