diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-03-02 15:25:13 -0800 |
---|---|---|
committer | atrnati <54334261+atrnati@users.noreply.github.com> | 2020-03-03 08:51:32 -0600 |
commit | 876d4150aa3da531ddd687b48afada6e43f79146 (patch) | |
tree | fd72a71419f4cd800d4e500cfcaded4dfc8dc367 /host/python/pyuhd.cpp | |
parent | 1393553d623bdf4ba40d5435c9719b6ce990d9ac (diff) | |
download | uhd-876d4150aa3da531ddd687b48afada6e43f79146.tar.gz uhd-876d4150aa3da531ddd687b48afada6e43f79146.tar.bz2 uhd-876d4150aa3da531ddd687b48afada6e43f79146.zip |
uhd: Apply clang-format against all .cpp and .hpp files in host/
Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of
files that clang-format gets applied against.
Diffstat (limited to 'host/python/pyuhd.cpp')
-rw-r--r-- | host/python/pyuhd.cpp | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/host/python/pyuhd.cpp b/host/python/pyuhd.cpp index 50434b4fc..9ffaa5bb5 100644 --- a/host/python/pyuhd.cpp +++ b/host/python/pyuhd.cpp @@ -5,8 +5,8 @@ // SPDX-License-Identifier: GPL-3.0-or-later // -#include <pybind11/pybind11.h> #include <pybind11/complex.h> +#include <pybind11/pybind11.h> #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <numpy/arrayobject.h> @@ -14,21 +14,18 @@ namespace py = pybind11; #include "rfnoc/rfnoc_python.hpp" - #include "stream_python.hpp" - -#include "types/types_python.hpp" -#include "types/serial_python.hpp" -#include "types/time_spec_python.hpp" +#include "types/filters_python.hpp" #include "types/metadata_python.hpp" #include "types/sensors_python.hpp" -#include "types/filters_python.hpp" +#include "types/serial_python.hpp" +#include "types/time_spec_python.hpp" #include "types/tune_python.hpp" - -#include "usrp/fe_connection_python.hpp" +#include "types/types_python.hpp" #include "usrp/dboard_iface_python.hpp" -#include "usrp/subdev_spec_python.hpp" +#include "usrp/fe_connection_python.hpp" #include "usrp/multi_usrp_python.hpp" +#include "usrp/subdev_spec_python.hpp" // We need this hack because import_array() returns NULL // for newer Python versions. @@ -79,4 +76,3 @@ PYBIND11_MODULE(libpyuhd, m) auto rfnoc_module = m.def_submodule("rfnoc", "RFNoC Objects"); export_rfnoc(rfnoc_module); } - |