diff options
author | mormj <34754695+mormj@users.noreply.github.com> | 2021-09-29 11:03:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 11:03:09 -0400 |
commit | 65366505b3d04422cb9ec93414e1c8e474f5aa08 (patch) | |
tree | 3cbf83e515f109b1cf73bbbea871efe1e37bf094 /gnuradio-runtime/python | |
parent | af3fbe432fe16efb05f26c24a0fa9724680dc8dd (diff) |
runtime: fix pybind of get_tags_in_window
* runtime: fix pybind of get_tags_in_window
Fix issue where get_tags_in_window was bound to and consequently had the
same behavior as get_tags_in_range
Fixes #5005
Test recommended by ryanvolz fails to validate tag offset not just when
nitems_read is 0
Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
Diffstat (limited to 'gnuradio-runtime/python')
-rw-r--r-- | gnuradio-runtime/python/gnuradio/gr/bindings/block_gateway_python.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/bindings/block_gateway_python.cc b/gnuradio-runtime/python/gnuradio/gr/bindings/block_gateway_python.cc index 5766677bbe..476ffce6b3 100644 --- a/gnuradio-runtime/python/gnuradio/gr/bindings/block_gateway_python.cc +++ b/gnuradio-runtime/python/gnuradio/gr/bindings/block_gateway_python.cc @@ -67,7 +67,7 @@ void bind_block_gateway(py::module& m) .def( "get_tags_in_window", (std::vector<gr::tag_t>(block_gateway::*)(unsigned int, uint64_t, uint64_t)) & - block_gateway::_get_tags_in_range, + block_gateway::_get_tags_in_window, py::arg("which_input"), py::arg("rel_start"), py::arg("rel_end")) @@ -75,7 +75,7 @@ void bind_block_gateway(py::module& m) .def("get_tags_in_window", (std::vector<gr::tag_t>(block_gateway::*)( unsigned int, uint64_t, uint64_t, const pmt::pmt_t&)) & - block_gateway::_get_tags_in_range, + block_gateway::_get_tags_in_window, py::arg("which_input"), py::arg("rel_start"), py::arg("rel_end"), |