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.i21
1 files changed, 16 insertions, 5 deletions
diff --git a/gr-uhd/swig/uhd_swig.i b/gr-uhd/swig/uhd_swig.i
index 89f82e9f4..e25dbce90 100644
--- a/gr-uhd/swig/uhd_swig.i
+++ b/gr-uhd/swig/uhd_swig.i
@@ -60,21 +60,32 @@
%}
////////////////////////////////////////////////////////////////////////
-// templated types
+// used types
////////////////////////////////////////////////////////////////////////
%template(string_vector_t) std::vector<std::string>;
-%template(range_vector_t) std::vector<uhd::range_t>;
-////////////////////////////////////////////////////////////////////////
-// used types
-////////////////////////////////////////////////////////////////////////
%include <uhd/config.hpp>
+
%include <uhd/utils/pimpl.hpp>
+
+%include <uhd/types/dict.hpp>
+%template(string_string_dict_t) uhd::dict<std::string, std::string>; //define after dict
+
+%include <uhd/types/device_addr.hpp>
+
+%include <uhd/types/io_type.hpp>
+
+%template(range_vector_t) std::vector<uhd::range_t>; //define before range
%include <uhd/types/ranges.hpp>
+
%include <uhd/types/tune_request.hpp>
+
%include <uhd/types/tune_result.hpp>
+
%include <uhd/types/io_type.hpp>
+
%include <uhd/types/time_spec.hpp>
+
%include <uhd/types/clock_config.hpp>
////////////////////////////////////////////////////////////////////////