diff options
Diffstat (limited to 'gr-wavelet/python/wavelet/bindings/squash_ff_python.cc')
-rw-r--r-- | gr-wavelet/python/wavelet/bindings/squash_ff_python.cc | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gr-wavelet/python/wavelet/bindings/squash_ff_python.cc b/gr-wavelet/python/wavelet/bindings/squash_ff_python.cc new file mode 100644 index 0000000000..a8c4eda05f --- /dev/null +++ b/gr-wavelet/python/wavelet/bindings/squash_ff_python.cc @@ -0,0 +1,49 @@ +/* + * 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 and can be manually edited */ +/* The following lines can be configured to regenerate this file during cmake */ +/* If manual edits are made, the following tags should be modified accordingly. */ +/* BINDTOOL_GEN_AUTOMATIC(0) */ +/* BINDTOOL_USE_PYGCCXML(0) */ +/* BINDTOOL_HEADER_FILE(squash_ff.h) */ +/* BINDTOOL_HEADER_FILE_HASH(ae6436fd366614924bbc336d562d99c3) */ +/***********************************************************************************/ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/wavelet/squash_ff.h> +// pydoc.h is automatically generated in the build directory +#include <squash_ff_pydoc.h> + +void bind_squash_ff(py::module& m) +{ + + using squash_ff = ::gr::wavelet::squash_ff; + + + py::class_<squash_ff, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<squash_ff>>(m, "squash_ff", D(squash_ff)) + + .def(py::init(&squash_ff::make), + py::arg("igrid"), + py::arg("ogrid"), + D(squash_ff, make)) + + + ; +} |