summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/swig/gnuradio.i
diff options
context:
space:
mode:
authorTom Rondeau2012-03-16 16:56:00 -0400
committerTom Rondeau2012-03-16 16:56:00 -0400
commit9ebc20522bf1f7ab6e7e89301d5504912a315b32 (patch)
tree804ac931da65cadb36cee6cb22c7e5145792ea91 /gnuradio-core/src/lib/swig/gnuradio.i
parentb42436cd0b2304d93729d356ad6b94478a540e5e (diff)
parentf9a07338b9c7c0af19d64d24c47eaa9f7fe1ba38 (diff)
downloadgnuradio-9ebc20522bf1f7ab6e7e89301d5504912a315b32.tar.gz
gnuradio-9ebc20522bf1f7ab6e7e89301d5504912a315b32.tar.bz2
gnuradio-9ebc20522bf1f7ab6e7e89301d5504912a315b32.zip
Merge remote branch 'jblum/gruel_common_swig'
Diffstat (limited to 'gnuradio-core/src/lib/swig/gnuradio.i')
-rw-r--r--gnuradio-core/src/lib/swig/gnuradio.i18
1 files changed, 1 insertions, 17 deletions
diff --git a/gnuradio-core/src/lib/swig/gnuradio.i b/gnuradio-core/src/lib/swig/gnuradio.i
index e365aeac7..972d56c84 100644
--- a/gnuradio-core/src/lib/swig/gnuradio.i
+++ b/gnuradio-core/src/lib/swig/gnuradio.i
@@ -25,23 +25,7 @@
// SWIG interface definition
////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////
-// 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");
- }
-
-}
+%include <gruel_common.i>
////////////////////////////////////////////////////////////////////////
// Headers