diff options
author | Josh Morman <mormjb@gmail.com> | 2020-04-23 07:54:44 -0400 |
---|---|---|
committer | Josh Morman <mormjb@gmail.com> | 2020-06-04 10:05:47 -0400 |
commit | d8058406fa93becbfd8f5cbde0e96363e190d9ba (patch) | |
tree | 3486e94a10cbf2ba28a33e7f9eafbad7a95347a1 /gr-analog/python/analog/bindings/pll_refout_cc_python.cc | |
parent | 941e6e493cbcc331116d22d346f5d30a6f35dabb (diff) |
analog: add pybind11 bindings
Diffstat (limited to 'gr-analog/python/analog/bindings/pll_refout_cc_python.cc')
-rw-r--r-- | gr-analog/python/analog/bindings/pll_refout_cc_python.cc | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gr-analog/python/analog/bindings/pll_refout_cc_python.cc b/gr-analog/python/analog/bindings/pll_refout_cc_python.cc new file mode 100644 index 0000000000..52594b91ca --- /dev/null +++ b/gr-analog/python/analog/bindings/pll_refout_cc_python.cc @@ -0,0 +1,42 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/analog/pll_refout_cc.h> +// pydoc.h is automatically generated in the build directory +#include <pll_refout_cc_pydoc.h> + +void bind_pll_refout_cc(py::module& m) +{ + + using pll_refout_cc = ::gr::analog::pll_refout_cc; + + + py::class_<pll_refout_cc, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<pll_refout_cc>>(m, "pll_refout_cc", D(pll_refout_cc)) + + .def(py::init(&pll_refout_cc::make), + py::arg("loop_bw"), + py::arg("max_freq"), + py::arg("min_freq"), + D(pll_refout_cc, make)) + + + ; +} |