diff options
Diffstat (limited to 'gr-blocks/include/blocks/endian_swap.h')
-rw-r--r-- | gr-blocks/include/blocks/endian_swap.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gr-blocks/include/blocks/endian_swap.h b/gr-blocks/include/blocks/endian_swap.h index 4b5a76218e..c26a1d2aa4 100644 --- a/gr-blocks/include/blocks/endian_swap.h +++ b/gr-blocks/include/blocks/endian_swap.h @@ -31,9 +31,7 @@ namespace gr { /*! * \brief Convert stream of items into thier byte swapped version - * - * \param item_size_bytes number of bytes per item, 1=no-op, - * 2=uint16_t, 4=uint32_t, 8=uint64_t + * \ingroup stream_operators_blk */ class BLOCKS_API endian_swap : virtual public gr_sync_block { @@ -41,6 +39,12 @@ namespace gr { // gr::blocks::endian_swap::sptr typedef boost::shared_ptr<endian_swap> sptr; + /*! + * Make an endian swap block. + * + * \param item_size_bytes number of bytes per item, 1=no-op, + * 2=uint16_t, 4=uint32_t, 8=uint64_t + */ static sptr make(size_t item_size_bytes=1); }; |