diff options
author | Jeff Long <willcode4@gmail.com> | 2021-05-15 20:58:14 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-05-19 10:54:53 -0400 |
commit | 91ccd28abae6727509e88ff60032057483ac1b90 (patch) | |
tree | c6aa2959d461cffe01c2fec8117ce69f162cb99a | |
parent | 5cdb832ed4ca7840e1d1c9efc70e55d2647654c4 (diff) |
pmt: remove extra, mis-named pmt::pmt_ functions
Signed-off-by: Jeff Long <willcode4@gmail.com>
-rw-r--r-- | gnuradio-runtime/include/pmt/pmt.h | 14 | ||||
-rw-r--r-- | gnuradio-runtime/python/pmt/bindings/docstrings/pmt_pydoc_template.h | 36 | ||||
-rw-r--r-- | gnuradio-runtime/python/pmt/bindings/pmt_python.cc | 37 |
3 files changed, 0 insertions, 87 deletions
diff --git a/gnuradio-runtime/include/pmt/pmt.h b/gnuradio-runtime/include/pmt/pmt.h index d774fef756..b55cc57d9f 100644 --- a/gnuradio-runtime/include/pmt/pmt.h +++ b/gnuradio-runtime/include/pmt/pmt.h @@ -594,20 +594,6 @@ PMT_API const std::vector<double> f64vector_elements(pmt_t v); PMT_API const std::vector<std::complex<float>> c32vector_elements(pmt_t v); PMT_API const std::vector<std::complex<double>> c64vector_elements(pmt_t v); -// len is in elements -PMT_API const std::vector<uint8_t> pmt_u8vector_elements(pmt_t v); -PMT_API const std::vector<int8_t> pmt_s8vector_elements(pmt_t v); -PMT_API const std::vector<uint16_t> pmt_u16vector_elements(pmt_t v); -PMT_API const std::vector<int16_t> pmt_s16vector_elements(pmt_t v); -PMT_API const std::vector<uint32_t> pmt_u32vector_elements(pmt_t v); -PMT_API const std::vector<int32_t> pmt_s32vector_elements(pmt_t v); -PMT_API const std::vector<uint64_t> pmt_u64vector_elements(pmt_t v); -PMT_API const std::vector<int64_t> pmt_s64vector_elements(pmt_t v); -PMT_API const std::vector<float> pmt_f32vector_elements(pmt_t v); -PMT_API const std::vector<double> pmt_f64vector_elements(pmt_t v); -PMT_API const std::vector<std::complex<float>> pmt_c32vector_elements(pmt_t v); -PMT_API const std::vector<std::complex<double>> pmt_c64vector_elements(pmt_t v); - // Return non-const pointers to the elements PMT_API void* diff --git a/gnuradio-runtime/python/pmt/bindings/docstrings/pmt_pydoc_template.h b/gnuradio-runtime/python/pmt/bindings/docstrings/pmt_pydoc_template.h index 6af2f9e0af..51c60b6021 100644 --- a/gnuradio-runtime/python/pmt/bindings/docstrings/pmt_pydoc_template.h +++ b/gnuradio-runtime/python/pmt/bindings/docstrings/pmt_pydoc_template.h @@ -648,42 +648,6 @@ static const char* __doc_pmt_c32vector_elements_1 = R"doc()doc"; static const char* __doc_pmt_c64vector_elements_1 = R"doc()doc"; -static const char* __doc_pmt_pmt_u8vector_elements = R"doc()doc"; - - -static const char* __doc_pmt_pmt_s8vector_elements = R"doc()doc"; - - -static const char* __doc_pmt_pmt_u16vector_elements = R"doc()doc"; - - -static const char* __doc_pmt_pmt_s16vector_elements = R"doc()doc"; - - -static const char* __doc_pmt_pmt_u32vector_elements = R"doc()doc"; - - -static const char* __doc_pmt_pmt_s32vector_elements = R"doc()doc"; - - -static const char* __doc_pmt_pmt_u64vector_elements = R"doc()doc"; - - -static const char* __doc_pmt_pmt_s64vector_elements = R"doc()doc"; - - -static const char* __doc_pmt_pmt_f32vector_elements = R"doc()doc"; - - -static const char* __doc_pmt_pmt_f64vector_elements = R"doc()doc"; - - -static const char* __doc_pmt_pmt_c32vector_elements = R"doc()doc"; - - -static const char* __doc_pmt_pmt_c64vector_elements = R"doc()doc"; - - static const char* __doc_pmt_uniform_vector_writable_elements = R"doc()doc"; diff --git a/gnuradio-runtime/python/pmt/bindings/pmt_python.cc b/gnuradio-runtime/python/pmt/bindings/pmt_python.cc index 2c301f2f53..33e345133b 100644 --- a/gnuradio-runtime/python/pmt/bindings/pmt_python.cc +++ b/gnuradio-runtime/python/pmt/bindings/pmt_python.cc @@ -1221,43 +1221,6 @@ void bind_pmt(py::module& m) py::arg("v"), D(c64vector_elements, 1)); - // The following functions are not implemented in pmt.cc - // m.def("pmt_u8vector_elements",&pmt::pmt_u8vector_elements, - // py::arg("v") - // ); - // m.def("pmt_s8vector_elements",&pmt::pmt_s8vector_elements, - // py::arg("v") - // ); - // m.def("pmt_u16vector_elements",&pmt::pmt_u16vector_elements, - // py::arg("v") - // ); - // m.def("pmt_s16vector_elements",&pmt::pmt_s16vector_elements, - // py::arg("v") - // ); - // m.def("pmt_u32vector_elements",&pmt::pmt_u32vector_elements, - // py::arg("v") - // ); - // m.def("pmt_s32vector_elements",&pmt::pmt_s32vector_elements, - // py::arg("v") - // ); - // m.def("pmt_u64vector_elements",&pmt::pmt_u64vector_elements, - // py::arg("v") - // ); - // m.def("pmt_s64vector_elements",&pmt::pmt_s64vector_elements, - // py::arg("v") - // ); - // m.def("pmt_f32vector_elements",&pmt::pmt_f32vector_elements, - // py::arg("v") - // ); - // m.def("pmt_f64vector_elements",&pmt::pmt_f64vector_elements, - // py::arg("v") - // ); - // m.def("pmt_c32vector_elements",&pmt::pmt_c32vector_elements, - // py::arg("v") - // ); - // m.def("pmt_c64vector_elements",&pmt::pmt_c64vector_elements, - // py::arg("v") - // ); m.def("uniform_vector_writable_elements", &::pmt::uniform_vector_writable_elements, py::arg("v"), |