/* * Copyright 2021 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(wireshark_connector.h) */ /* BINDTOOL_HEADER_FILE_HASH(10414a436e555bc27b41e65120989433) */ /***********************************************************************************/ #include #include #include namespace py = pybind11; #include // pydoc.h is automatically generated in the build directory #include void bind_wireshark_connector(py::module& m) { using wireshark_connector = ::gr::foo::wireshark_connector; py::class_>(m, "wireshark_connector", D(wireshark_connector)) .def(py::init(&wireshark_connector::make), py::arg("type"), py::arg("debug") = false, D(wireshark_connector,make) ) ; py::enum_<::gr::foo::LinkType>(m,"LinkType") .value("WIFI", ::gr::foo::WIFI) // 127 .value("ZIGBEE", ::gr::foo::ZIGBEE) // 195 .export_values() ; py::implicitly_convertible(); }