summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general/gr_nop.i
diff options
context:
space:
mode:
authorEric Blossom2010-11-14 11:56:18 -0800
committerEric Blossom2010-11-14 11:56:18 -0800
commitababbe79dba97b1c88e5dec7eb28175c3574d015 (patch)
tree635a55a5a32b59df30a0e05bcaafcd54ab7dd306 /gnuradio-core/src/lib/general/gr_nop.i
parentb7667afd81b8303a542204ac05ffa969519702af (diff)
downloadgnuradio-ababbe79dba97b1c88e5dec7eb28175c3574d015.tar.gz
gnuradio-ababbe79dba97b1c88e5dec7eb28175c3574d015.tar.bz2
gnuradio-ababbe79dba97b1c88e5dec7eb28175c3574d015.zip
Update gr_nop, gr_null_sink and gr_null_source to modern coding conventions.
Diffstat (limited to 'gnuradio-core/src/lib/general/gr_nop.i')
-rw-r--r--gnuradio-core/src/lib/general/gr_nop.i11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnuradio-core/src/lib/general/gr_nop.i b/gnuradio-core/src/lib/general/gr_nop.i
index 8220e5c6c..85354d421 100644
--- a/gnuradio-core/src/lib/general/gr_nop.i
+++ b/gnuradio-core/src/lib/general/gr_nop.i
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2004 Free Software Foundation, Inc.
+ * Copyright 2004,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -20,11 +20,12 @@
* Boston, MA 02110-1301, USA.
*/
-%ignore gr_nop;
+GR_SWIG_BLOCK_MAGIC(gr,nop)
+
+gr_nop_sptr gr_make_nop (size_t sizeof_stream_item);
+
class gr_nop : public gr_block {
- friend gr_block_sptr gr_make_nop (size_t sizeof_stream_item);
+private:
gr_nop (size_t sizeof_stream_item);
};
-%rename(nop) gr_make_nop;
-gr_block_sptr gr_make_nop (size_t sizeof_stream_item);