diff options
author | Josh Blum <josh@joshknows.com> | 2011-09-28 23:03:30 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-09-28 23:03:30 -0700 |
commit | 74ec2b60cc48dacca26f7dbf4f9ca9110ac9b53a (patch) | |
tree | caf1a259e5be9c702d40d9ad75294c162ca4aa55 /gr-uhd/swig | |
parent | 9e73c4e8372bc581d686d5e82a808894d41523ec (diff) | |
parent | 21e9139fb2ec13ec38287b36d6399c12b00b37c6 (diff) |
Merge branch 'next' of http://gnuradio.org/git/gnuradio into next
Diffstat (limited to 'gr-uhd/swig')
-rw-r--r-- | gr-uhd/swig/uhd_swig.i | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gr-uhd/swig/uhd_swig.i b/gr-uhd/swig/uhd_swig.i index b58fe9e180..93bf5bfbe5 100644 --- a/gr-uhd/swig/uhd_swig.i +++ b/gr-uhd/swig/uhd_swig.i @@ -27,24 +27,6 @@ #define GR_UHD_API //////////////////////////////////////////////////////////////////////// -// Language independent exception handler -//////////////////////////////////////////////////////////////////////// -%include exception.i - -%exception { - try { - $action - } - catch(std::exception &e) { - SWIG_exception(SWIG_RuntimeError, e.what()); - } - catch(...) { - SWIG_exception(SWIG_RuntimeError, "Unknown exception"); - } - -} - -//////////////////////////////////////////////////////////////////////// // standard includes //////////////////////////////////////////////////////////////////////// %include "gnuradio.i" |