summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
authorEric Blossom2010-11-09 19:26:40 -0800
committerEric Blossom2010-11-10 12:17:58 -0800
commit15987345134793d3f6f0618bdf6b45ffc6609c0c (patch)
treeb12372be87c3aa85a0e30684aac3cd6ca8b2a4a5 /gnuradio-core/src/lib/general
parent5228dd1ba5de72642208404b29f8b876fe59f388 (diff)
downloadgnuradio-15987345134793d3f6f0618bdf6b45ffc6609c0c.tar.gz
gnuradio-15987345134793d3f6f0618bdf6b45ffc6609c0c.tar.bz2
gnuradio-15987345134793d3f6f0618bdf6b45ffc6609c0c.zip
Example of how to fix throw crashes
Diffstat (limited to 'gnuradio-core/src/lib/general')
-rw-r--r--gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.i b/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.i
index 841613ca6..ea73dd46d 100644
--- a/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.i
+++ b/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.i
@@ -22,7 +22,8 @@
GR_SWIG_BLOCK_MAGIC(gr,align_on_samplenumbers_ss);
-gr_align_on_samplenumbers_ss_sptr gr_make_align_on_samplenumbers_ss(int nchan=2, int align_interval=128);
+gr_align_on_samplenumbers_ss_sptr
+gr_make_align_on_samplenumbers_ss(int nchan=2, int align_interval=128) throw (std::exception);
class gr_align_on_samplenumbers_ss : public gr_block
{