diff options
Diffstat (limited to 'gr-vocoder/python/vocoder/bindings/ulaw_decode_bs_python.cc')
-rw-r--r-- | gr-vocoder/python/vocoder/bindings/ulaw_decode_bs_python.cc | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gr-vocoder/python/vocoder/bindings/ulaw_decode_bs_python.cc b/gr-vocoder/python/vocoder/bindings/ulaw_decode_bs_python.cc new file mode 100644 index 0000000000..8e90eb8154 --- /dev/null +++ b/gr-vocoder/python/vocoder/bindings/ulaw_decode_bs_python.cc @@ -0,0 +1,38 @@ +/* + * 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/vocoder/ulaw_decode_bs.h> +// pydoc.h is automatically generated in the build directory +#include <ulaw_decode_bs_pydoc.h> + +void bind_ulaw_decode_bs(py::module& m) +{ + + using ulaw_decode_bs = ::gr::vocoder::ulaw_decode_bs; + + + py::class_<ulaw_decode_bs, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<ulaw_decode_bs>>(m, "ulaw_decode_bs", D(ulaw_decode_bs)) + + .def(py::init(&ulaw_decode_bs::make), D(ulaw_decode_bs, make)) + + + ; +} |