summaryrefslogtreecommitdiff
path: root/gr-uhd
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2014-07-08 13:30:01 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2014-07-08 13:30:01 -0700
commit0699175beaa775f5016b71f15d0ce53f90dd5892 (patch)
treef7f57c474fa2980bd230b35a7511df97b44ea396 /gr-uhd
parent3b6ca994ca2219d3834814d3175ef6aec04b33fb (diff)
parent8296c569c104cf7c23a84d42c5b7236306842799 (diff)
Merge remote-tracking branch 'ncorgan/ncorgan/swig_ignore_multi_usrp' into maint
Diffstat (limited to 'gr-uhd')
-rw-r--r--gr-uhd/include/gnuradio/uhd/usrp_sink.h4
-rw-r--r--gr-uhd/include/gnuradio/uhd/usrp_source.h4
-rw-r--r--gr-uhd/swig/uhd_swig.i8
3 files changed, 13 insertions, 3 deletions
diff --git a/gr-uhd/include/gnuradio/uhd/usrp_sink.h b/gr-uhd/include/gnuradio/uhd/usrp_sink.h
index 35bb2e4384..d3e732cc30 100644
--- a/gr-uhd/include/gnuradio/uhd/usrp_sink.h
+++ b/gr-uhd/include/gnuradio/uhd/usrp_sink.h
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2010-2013 Free Software Foundation, Inc.
+ * Copyright 2010-2014 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -528,6 +528,8 @@ namespace gr {
/*!
* Get access to the underlying uhd device object.
+ *
+ * NOTE: This function is only available in C++.
* \return the multi usrp device object
*/
virtual ::uhd::usrp::multi_usrp::sptr get_device(void) = 0;
diff --git a/gr-uhd/include/gnuradio/uhd/usrp_source.h b/gr-uhd/include/gnuradio/uhd/usrp_source.h
index f330ee0901..2e165cf771 100644
--- a/gr-uhd/include/gnuradio/uhd/usrp_source.h
+++ b/gr-uhd/include/gnuradio/uhd/usrp_source.h
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2010-2013 Free Software Foundation, Inc.
+ * Copyright 2010-2014 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -535,6 +535,8 @@ namespace gr {
/*!
* Get access to the underlying uhd device object.
+ *
+ * NOTE: This function is only available in C++.
* \return the multi usrp device object
*/
virtual ::uhd::usrp::multi_usrp::sptr get_device(void) = 0;
diff --git a/gr-uhd/swig/uhd_swig.i b/gr-uhd/swig/uhd_swig.i
index 4eaef9112d..a4b1528439 100644
--- a/gr-uhd/swig/uhd_swig.i
+++ b/gr-uhd/swig/uhd_swig.i
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2010-2013 Free Software Foundation, Inc.
+ * Copyright 2010-2014 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -40,6 +40,12 @@
%include "uhd_swig_doc.i"
////////////////////////////////////////////////////////////////////////
+// SWIG should not see the uhd::usrp::multi_usrp class
+////////////////////////////////////////////////////////////////////////
+%ignore gr::uhd::usrp_sink::get_device;
+%ignore gr::uhd::usrp_source::get_device;
+
+////////////////////////////////////////////////////////////////////////
// block headers
////////////////////////////////////////////////////////////////////////
%{