diff options
Diffstat (limited to 'host/lib/usrp/subdev_spec_python.hpp')
-rw-r--r-- | host/lib/usrp/subdev_spec_python.hpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/host/lib/usrp/subdev_spec_python.hpp b/host/lib/usrp/subdev_spec_python.hpp index 61a517a6f..ddcb86da2 100644 --- a/host/lib/usrp/subdev_spec_python.hpp +++ b/host/lib/usrp/subdev_spec_python.hpp @@ -15,20 +15,18 @@ void export_subdev_spec(py::module& m) using subdev_spec_pair_t = uhd::usrp::subdev_spec_pair_t; using subdev_spec_t = uhd::usrp::subdev_spec_t; - py::class_<subdev_spec_pair_t> (m, "subdev_spec_pair") - .def(py::init<const std::string&, const std::string &>()) + py::class_<subdev_spec_pair_t>(m, "subdev_spec_pair") + .def(py::init<const std::string&, const std::string&>()) // Properties .def_readwrite("db_name", &subdev_spec_pair_t::db_name) - .def_readwrite("sd_name", &subdev_spec_pair_t::sd_name) - ; + .def_readwrite("sd_name", &subdev_spec_pair_t::sd_name); py::class_<subdev_spec_t>(m, "subdev_spec") - .def(py::init<const std::string &>()) + .def(py::init<const std::string&>()) // Methods - .def("__str__", &subdev_spec_t::to_pp_string) - .def("to_string", &subdev_spec_t::to_string) - ; + .def("__str__", &subdev_spec_t::to_pp_string) + .def("to_string", &subdev_spec_t::to_string); } #endif /* INCLUDED_UHD_USRP_SUBDEV_SPEC_PYTHON_HPP */ |