summaryrefslogtreecommitdiff
path: root/gr-uhd/swig/uhd_swig.i
diff options
context:
space:
mode:
authorJohnathan Corgan2012-04-02 16:08:57 -0700
committerJohnathan Corgan2012-04-02 16:08:57 -0700
commitfb8292238c7efff4a5b2a7ae26d3a2835f9be3ce (patch)
tree4169d42bf56151fcc565785b6de9b23e101ca932 /gr-uhd/swig/uhd_swig.i
parentbbb8650eb525a58be2a427daa38ff6c464c5b882 (diff)
parent27608bfcc97e09372630237618eddce8a02d2fe6 (diff)
downloadgnuradio-fb8292238c7efff4a5b2a7ae26d3a2835f9be3ce.tar.gz
gnuradio-fb8292238c7efff4a5b2a7ae26d3a2835f9be3ce.tar.bz2
gnuradio-fb8292238c7efff4a5b2a7ae26d3a2835f9be3ce.zip
Merge branch 'master' into next
Conflicts: gr-uhd/swig/uhd_swig.i
Diffstat (limited to 'gr-uhd/swig/uhd_swig.i')
-rw-r--r--gr-uhd/swig/uhd_swig.i8
1 files changed, 8 insertions, 0 deletions
diff --git a/gr-uhd/swig/uhd_swig.i b/gr-uhd/swig/uhd_swig.i
index 053f4a999..d814a5ae0 100644
--- a/gr-uhd/swig/uhd_swig.i
+++ b/gr-uhd/swig/uhd_swig.i
@@ -125,4 +125,12 @@ static const size_t ALL_MBOARDS = uhd::usrp::multi_usrp::ALL_MBOARDS;
%}
static const size_t ALL_MBOARDS;
+%{
+#include <uhd/version.hpp>
+std::string get_version_string(void){
+ return uhd::get_version_string();
+}
+%}
+std::string get_version_string(void);
+
#endif /* GR_HAVE_UHD */