summaryrefslogtreecommitdiff
path: root/docs/doxygen/other/msg_passing.dox
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/other/msg_passing.dox')
-rw-r--r--docs/doxygen/other/msg_passing.dox4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/doxygen/other/msg_passing.dox b/docs/doxygen/other/msg_passing.dox
index c184681f23..11abf35728 100644
--- a/docs/doxygen/other/msg_passing.dox
+++ b/docs/doxygen/other/msg_passing.dox
@@ -76,7 +76,7 @@ the messages that are posted to it. After using the
gr::basic_block::message_port_register_in to declare a subscriber port, we
must then bind this port to the message handler. For this, we use
Boost's 'bind' function:
-
+
\code
set_msg_handler(pmt::pmt_t port_id,
boost::bind(&block_class::message_handler_function, this, _1));
@@ -114,7 +114,7 @@ All messages published by the \b src block on port \a pdus will be
received by \b dbg on port \a print. Note here how we are just using
strings to define the ports, not PMT symbols. This is a convenience to
the user to be able to more easily type in the port names (for
-reference, you can create a PMT symbol in Python using the
+reference, you can create a PMT symbol in Python using the
pmt::intern function as pmt.intern("string")).
Users can also query blocks for the names of their input and output