Fix missed files
This commit is contained in:
parent
ce1cb85d86
commit
dd7a5a6e6e
2 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
// TODO: STL exception handling
|
||||
// Note that the generic std_except.i file did not work
|
||||
%{
|
||||
#include <typeinfo>
|
||||
#include <stdexcept>
|
||||
%}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue