diff options
author | Tom Rondeau | 2011-03-20 12:31:10 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-03-20 12:31:10 -0400 |
commit | 972fc99ad6984e50731ec0dd97ccfec71829139b (patch) | |
tree | dcbbe06ca254169c122b88600816e504643880dc /gr-usrp/src/usrp_swig.i | |
parent | 3c3aff088447942053e96ae30b766b00d4cd0202 (diff) | |
parent | 4d1426b8db5be20583a6efb380d564a55a28fd09 (diff) | |
download | gnuradio-972fc99ad6984e50731ec0dd97ccfec71829139b.tar.gz gnuradio-972fc99ad6984e50731ec0dd97ccfec71829139b.tar.bz2 gnuradio-972fc99ad6984e50731ec0dd97ccfec71829139b.zip |
Merge branch 'master' of gnuradio.org:gnuradio
Diffstat (limited to 'gr-usrp/src/usrp_swig.i')
-rw-r--r-- | gr-usrp/src/usrp_swig.i | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gr-usrp/src/usrp_swig.i b/gr-usrp/src/usrp_swig.i index 2a47877c3..b1797d758 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,3 +142,15 @@ usrp_source_c_sptr.pick_rx_subdevice = __pick_rx_subdevice usrp_source_s_sptr.pick_rx_subdevice = __pick_rx_subdevice %} +#endif + + +#if SWIGGUILE +%scheme %{ +(load-extension-global "libguile-gnuradio-usrp_swig" "scm_init_gnuradio_usrp_swig_module") +%} + +%goops %{ +(use-modules (gnuradio gnuradio_core_runtime)) +%} +#endif |