summaryrefslogtreecommitdiff
path: root/gr-usrp/src/usrp_swig.i
diff options
context:
space:
mode:
authorEric Blossom2010-11-16 21:40:55 -0800
committerEric Blossom2010-11-16 21:40:55 -0800
commit8c81cf7d318d99f508e81bffcfd4c12ba0a2966e (patch)
tree26952dd5223873cc64852f0ef16d0510993a62ca /gr-usrp/src/usrp_swig.i
parent8180bb1d7020e07c9b0a217820c68d07f0d98a74 (diff)
downloadgnuradio-8c81cf7d318d99f508e81bffcfd4c12ba0a2966e.tar.gz
gnuradio-8c81cf7d318d99f508e81bffcfd4c12ba0a2966e.tar.bz2
gnuradio-8c81cf7d318d99f508e81bffcfd4c12ba0a2966e.zip
Fix guile related problem with gr-usrp
Diffstat (limited to 'gr-usrp/src/usrp_swig.i')
-rw-r--r--gr-usrp/src/usrp_swig.i3
1 files changed, 3 insertions, 0 deletions
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 %{