diff options
author | Eric Blossom | 2010-11-14 11:57:19 -0800 |
---|---|---|
committer | Eric Blossom | 2010-11-14 11:57:19 -0800 |
commit | e8d0dbbdfce26f6963dfe0a727faf9c9cc5baf75 (patch) | |
tree | 28555d2422a5140ab86b3c784cae2e95c95ad880 /gnuradio-core | |
parent | ababbe79dba97b1c88e5dec7eb28175c3574d015 (diff) | |
download | gnuradio-e8d0dbbdfce26f6963dfe0a727faf9c9cc5baf75.tar.gz gnuradio-e8d0dbbdfce26f6963dfe0a727faf9c9cc5baf75.tar.bz2 gnuradio-e8d0dbbdfce26f6963dfe0a727faf9c9cc5baf75.zip |
Remove code that's no longer needed.
Diffstat (limited to 'gnuradio-core')
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_basic_block.i | 7 | ||||
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_block.i | 13 |
2 files changed, 2 insertions, 18 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_basic_block.i b/gnuradio-core/src/lib/runtime/gr_basic_block.i index 9b360e5ab..03d4725d5 100644 --- a/gnuradio-core/src/lib/runtime/gr_basic_block.i +++ b/gnuradio-core/src/lib/runtime/gr_basic_block.i @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2006 Free Software Foundation, Inc. + * Copyright 2006,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -52,8 +52,3 @@ long gr_basic_block_ncurrently_allocated(); gr_basic_block_sptr.__repr__ = lambda self: "<gr_basic_block %s (%d)>" % (self.name(), self.unique_id ()) %} #endif - -#ifdef SWIGGUILE -#warning "gr_basic_block.i: gr_block_sptr needs to be implemented!" -#endif - diff --git a/gnuradio-core/src/lib/runtime/gr_block.i b/gnuradio-core/src/lib/runtime/gr_block.i index d13c268ca..f4ee43477 100644 --- a/gnuradio-core/src/lib/runtime/gr_block.i +++ b/gnuradio-core/src/lib/runtime/gr_block.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 * @@ -53,14 +53,3 @@ class gr_block : public gr_basic_block { gr_block_detail_sptr detail () const { return d_detail; } void set_detail (gr_block_detail_sptr detail) { d_detail = detail; } }; - -#ifdef SWIGPYTHON -%pythoncode %{ -gr_block_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ()) -gr_block_sptr.block = lambda self: self -%} -#endif - -#ifdef SWIGGUILE -#warning "gr_block.i: gr_block_sptr needs to be implemented!" -#endif |