diff options
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gr/bindings/messages/msg_accepter_python.cc')
-rw-r--r-- | gnuradio-runtime/python/gnuradio/gr/bindings/messages/msg_accepter_python.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/bindings/messages/msg_accepter_python.cc b/gnuradio-runtime/python/gnuradio/gr/bindings/messages/msg_accepter_python.cc new file mode 100644 index 0000000000..fbad2e5eea --- /dev/null +++ b/gnuradio-runtime/python/gnuradio/gr/bindings/messages/msg_accepter_python.cc @@ -0,0 +1,28 @@ +/* + * 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/messages/msg_accepter.h> + +void bind_messages_msg_accepter(py::module& m) +{ + using msg_accepter = gr::messages::msg_accepter; + + + py::class_<msg_accepter, std::shared_ptr<msg_accepter>>(m, "messages_msg_accepter") + + .def("post", &msg_accepter::post, py::arg("which_port"), py::arg("msg")); +} |