summaryrefslogtreecommitdiff
path: root/gr-fec/lib/depuncture_bb_impl.cc
diff options
context:
space:
mode:
authorMarcus Müller <marcus@hostalia.de>2020-06-19 11:07:54 +0200
committerMarcus Müller <marcus@hostalia.de>2020-06-19 11:07:54 +0200
commite76d04ca2f4f15e3b1a1ab2a81dd52c4e6d2472c (patch)
tree1d86f68fceed9cd7204d9a79e816dc06c15feaf4 /gr-fec/lib/depuncture_bb_impl.cc
parent98348e37209aa7daeb96fe5ead815e5b083dc6da (diff)
parent39311758cb1e6a7424d3213b3eb2c65c8c4dcfe1 (diff)
Move from SWIG to Pybind11
Goodbye, and thanks for all the fish, SWIG. Please refer to docs/PYBIND11.md for details on how to deal with Pybind.
Diffstat (limited to 'gr-fec/lib/depuncture_bb_impl.cc')
-rw-r--r--gr-fec/lib/depuncture_bb_impl.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/gr-fec/lib/depuncture_bb_impl.cc b/gr-fec/lib/depuncture_bb_impl.cc
index d282170040..d5a765f2a2 100644
--- a/gr-fec/lib/depuncture_bb_impl.cc
+++ b/gr-fec/lib/depuncture_bb_impl.cc
@@ -23,13 +23,17 @@
namespace gr {
namespace fec {
-depuncture_bb::sptr depuncture_bb::make(int puncsize, int puncpat, int delay, char symbol)
+depuncture_bb::sptr
+depuncture_bb::make(int puncsize, int puncpat, int delay, uint8_t symbol)
{
return gnuradio::get_initial_sptr(
new depuncture_bb_impl(puncsize, puncpat, delay, symbol));
}
-depuncture_bb_impl::depuncture_bb_impl(int puncsize, int puncpat, int delay, char symbol)
+depuncture_bb_impl::depuncture_bb_impl(int puncsize,
+ int puncpat,
+ int delay,
+ uint8_t symbol)
: block("depuncture_bb",
io_signature::make(1, 1, sizeof(unsigned char)),
io_signature::make(1, 1, sizeof(unsigned char))),
@@ -62,7 +66,7 @@ depuncture_bb_impl::depuncture_bb_impl(int puncsize, int puncpat, int delay, cha
set_fixed_rate(true);
set_relative_rate((uint64_t)d_puncsize, (uint64_t)(d_puncsize - d_puncholes));
set_output_multiple(d_puncsize);
- // set_msg_handler(boost::bind(&depuncture_bb_impl::catch_msg, this, _1));
+ // set_msg_handler(<portname>, [this](pmt::pmt_t msg) { this->catch_msg(msg); });
}
depuncture_bb_impl::~depuncture_bb_impl() {}