summaryrefslogtreecommitdiff
path: root/gr-soapy/python/soapy/bindings/python_bindings.cc
diff options
context:
space:
mode:
authorNicholas Corgan <n.corgan@gmail.com>2021-05-05 20:38:40 -0500
committerJeff Long <willcode4@gmail.com>2021-05-06 08:43:54 -0400
commit0c178cc7423a030127bcd25652167c016face37e (patch)
tree7c262e42456e9ec5a20691d1b3e3853d8d807bff /gr-soapy/python/soapy/bindings/python_bindings.cc
parent8f215a66d5c845c8e7ff6a6e90567a569beb565c (diff)
soapy: added Python support for Soapy types needed for full API support
* Fixed gr-soapy Python import * Partially addresses https://github.com/gnuradio/gnuradio/issues/4571 Signed-off-by: Nicholas Corgan <n.corgan@gmail.com>
Diffstat (limited to 'gr-soapy/python/soapy/bindings/python_bindings.cc')
-rw-r--r--gr-soapy/python/soapy/bindings/python_bindings.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-soapy/python/soapy/bindings/python_bindings.cc b/gr-soapy/python/soapy/bindings/python_bindings.cc
index a2f84d1139..26a6f36453 100644
--- a/gr-soapy/python/soapy/bindings/python_bindings.cc
+++ b/gr-soapy/python/soapy/bindings/python_bindings.cc
@@ -14,6 +14,7 @@
namespace py = pybind11;
+void bind_soapy_types(py::module& m);
void bind_block(py::module& m);
void bind_source(py::module& m);
void bind_sink(py::module& m);
@@ -37,6 +38,7 @@ PYBIND11_MODULE(soapy_python, m)
// Allow access to base block methods
py::module::import("gnuradio.gr");
+ bind_soapy_types(m);
bind_block(m);
bind_source(m);
bind_sink(m);