aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/lib/types/time_spec_python.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/types/time_spec_python.hpp b/host/lib/types/time_spec_python.hpp
index f411af0b0..219dd076b 100644
--- a/host/lib/types/time_spec_python.hpp
+++ b/host/lib/types/time_spec_python.hpp
@@ -14,6 +14,9 @@ void export_time_spec()
using time_spec_t = uhd::time_spec_t;
bp::class_<time_spec_t>("time_spec", bp::init<double>())
+ //Additional constructors
+ .def(bp::init<int64_t, double>())
+ .def(bp::init<int64_t, long, double>())
// Methods
.def("from_ticks" , &time_spec_t::from_ticks )