summaryrefslogtreecommitdiff
path: root/gr-wavelet/python/wavelet/bindings/wvps_ff_python.cc
diff options
context:
space:
mode:
authorJosh Morman <mormjb@gmail.com>2020-04-23 11:02:25 -0400
committerJosh Morman <mormjb@gmail.com>2020-06-04 10:05:48 -0400
commita4e6d4d55b35ac36dd5915dec5145073d8ec3b9a (patch)
tree57f496e1316783cf0e05af0e530bc181e0bd3de0 /gr-wavelet/python/wavelet/bindings/wvps_ff_python.cc
parent2a5cb62885ab46ae0d8594bee26e256baed9813b (diff)
wavelet: add pybind11 bindings
Diffstat (limited to 'gr-wavelet/python/wavelet/bindings/wvps_ff_python.cc')
-rw-r--r--gr-wavelet/python/wavelet/bindings/wvps_ff_python.cc38
1 files changed, 38 insertions, 0 deletions
diff --git a/gr-wavelet/python/wavelet/bindings/wvps_ff_python.cc b/gr-wavelet/python/wavelet/bindings/wvps_ff_python.cc
new file mode 100644
index 0000000000..317066a11c
--- /dev/null
+++ b/gr-wavelet/python/wavelet/bindings/wvps_ff_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/wavelet/wvps_ff.h>
+// pydoc.h is automatically generated in the build directory
+#include <wvps_ff_pydoc.h>
+
+void bind_wvps_ff(py::module& m)
+{
+
+ using wvps_ff = ::gr::wavelet::wvps_ff;
+
+
+ py::class_<wvps_ff,
+ gr::sync_block,
+ gr::block,
+ gr::basic_block,
+ std::shared_ptr<wvps_ff>>(m, "wvps_ff", D(wvps_ff))
+
+ .def(py::init(&wvps_ff::make), py::arg("ilen"), D(wvps_ff, make))
+
+
+ ;
+}