diff options
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gr/bindings/messages/msg_producer_python.cc')
-rw-r--r-- | gnuradio-runtime/python/gnuradio/gr/bindings/messages/msg_producer_python.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/bindings/messages/msg_producer_python.cc b/gnuradio-runtime/python/gnuradio/gr/bindings/messages/msg_producer_python.cc new file mode 100644 index 0000000000..d519247ea3 --- /dev/null +++ b/gnuradio-runtime/python/gnuradio/gr/bindings/messages/msg_producer_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_producer.h> + +void bind_messages_msg_producer(py::module& m) +{ + using msg_producer = gr::messages::msg_producer; + + + py::class_<msg_producer, std::shared_ptr<msg_producer>>(m, "messages_msg_producer") + + .def("retrieve", &msg_producer::retrieve); +} |