diff options
Diffstat (limited to 'gnuradio-runtime/include/gnuradio/host_buffer.h')
-rw-r--r-- | gnuradio-runtime/include/gnuradio/host_buffer.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gnuradio-runtime/include/gnuradio/host_buffer.h b/gnuradio-runtime/include/gnuradio/host_buffer.h index ac09cdfe33..d5b7e2230b 100644 --- a/gnuradio-runtime/include/gnuradio/host_buffer.h +++ b/gnuradio-runtime/include/gnuradio/host_buffer.h @@ -23,6 +23,13 @@ public: static buffer_type type; + static buffer_sptr make_buffer(int nitems, + size_t sizeof_item, + uint64_t downstream_lcm_nitems, + uint32_t downstream_max_out_mult, + block_sptr link = block_sptr(), + block_sptr buf_owner = block_sptr()); + virtual ~host_buffer(); /*! @@ -117,10 +124,6 @@ private: block_sptr buf_owner); }; -// See buffer_type.h for details on this macro. It is used here to generate -// compile-time class representing the host_buffer classes "type". -DEFINE_CUSTOM_BUFFER_TYPE(HOST_BUFFER, &host_buffer::make_host_buffer); - } // namespace gr #endif /* INCLUDED_HOST_BUFFER_H */ |