summaryrefslogtreecommitdiff
path: root/gr-uhd/swig/uhd_swig.i
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/swig/uhd_swig.i')
-rw-r--r--gr-uhd/swig/uhd_swig.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/gr-uhd/swig/uhd_swig.i b/gr-uhd/swig/uhd_swig.i
index 34e140887..d755dfeee 100644
--- a/gr-uhd/swig/uhd_swig.i
+++ b/gr-uhd/swig/uhd_swig.i
@@ -21,12 +21,20 @@
*/
%include "gnuradio.i"
+%include "std_string.i"
+%include "std_vector.i"
+
+namespace std {
+ %template(StringVector) vector<string>;
+}
%{
#include <uhd_mimo_source.h>
#include <uhd_mimo_sink.h>
#include <uhd_simple_source.h>
#include <uhd_simple_sink.h>
+#include <uhd_single_usrp_source.h>
+#include <uhd_single_usrp_sink.h>
%}
%include <uhd/config.hpp>
@@ -47,3 +55,9 @@ GR_SWIG_BLOCK_MAGIC(uhd,simple_source)
GR_SWIG_BLOCK_MAGIC(uhd,simple_sink)
%include <uhd_simple_sink.h>
+
+GR_SWIG_BLOCK_MAGIC(uhd,single_usrp_source)
+%include <uhd_single_usrp_source.h>
+
+GR_SWIG_BLOCK_MAGIC(uhd,single_usrp_sink)
+%include <uhd_single_usrp_sink.h>