summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/gnuradio/gr/bindings/messages/msg_accepter_python.cc
blob: fbad2e5eea8a7498c3fc44601a3ebf7880c0e973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"));
}