diff options
author | Eric Blossom | 2010-11-16 21:40:55 -0800 |
---|---|---|
committer | Eric Blossom | 2010-11-16 21:40:55 -0800 |
commit | 8c81cf7d318d99f508e81bffcfd4c12ba0a2966e (patch) | |
tree | 26952dd5223873cc64852f0ef16d0510993a62ca /gr-usrp/src | |
parent | 8180bb1d7020e07c9b0a217820c68d07f0d98a74 (diff) | |
download | gnuradio-8c81cf7d318d99f508e81bffcfd4c12ba0a2966e.tar.gz gnuradio-8c81cf7d318d99f508e81bffcfd4c12ba0a2966e.tar.bz2 gnuradio-8c81cf7d318d99f508e81bffcfd4c12ba0a2966e.zip |
Fix guile related problem with gr-usrp
Diffstat (limited to 'gr-usrp/src')
-rw-r--r-- | gr-usrp/src/usrp_base.i | 1 | ||||
-rw-r--r-- | gr-usrp/src/usrp_swig.i | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gr-usrp/src/usrp_base.i b/gr-usrp/src/usrp_base.i index d0ece1fb2..0fd62911f 100644 --- a/gr-usrp/src/usrp_base.i +++ b/gr-usrp/src/usrp_base.i @@ -24,6 +24,7 @@ #include "usrp_base.h" %} +%ignore usrp_base; class usrp_base : public gr_sync_block { protected: diff --git a/gr-usrp/src/usrp_swig.i b/gr-usrp/src/usrp_swig.i index 5ab594383..32f2cb41e 100644 --- a/gr-usrp/src/usrp_swig.i +++ b/gr-usrp/src/usrp_swig.i @@ -39,6 +39,7 @@ %include "usrp_sink_c.i" %include "usrp_sink_s.i" +#ifdef SWIGPYTHON //---Allow a more Pythonic interface %pythoncode %{ @@ -141,6 +142,8 @@ usrp_source_c_sptr.pick_rx_subdevice = __pick_rx_subdevice usrp_source_s_sptr.pick_rx_subdevice = __pick_rx_subdevice %} +#endif + #if SWIGGUILE %scheme %{ |