// // Copyright 2018 Ettus Research, a National Instruments Company // Copyright 2019 Ettus Research, a National Instruments Brand // // SPDX-License-Identifier: GPL-3.0-or-later // #include namespace py = pybind11; #define LIBMPM_PYTHON // Allow boost::shared_ptr to be a holder class of an object (PyBind11 // supports std::shared_ptr and std::unique_ptr out of the box) #include PYBIND11_DECLARE_HOLDER_TYPE(T, boost::shared_ptr); #include #include #include #include PYBIND11_MODULE(libpyusrp_periphs, m) { export_types(m); export_spi(m); export_catalina(m); export_neon(m); }