diff options
author | David Sorber <david.sorber@blacklynx.tech> | 2021-08-30 08:41:45 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-10-25 11:27:01 -0400 |
commit | 0c08ee00da21f48d30273338b2c62aacbc912eff (patch) | |
tree | d13fd9c9d810990b76d6a289f7acc95c857c4d0b /gnuradio-runtime/lib | |
parent | f3c558d88bc68d865f823c31e7d9aa78b3feab59 (diff) |
runtime: use std::function for callback logic
Signed-off-by: David Sorber <david.sorber@blacklynx.tech>
Diffstat (limited to 'gnuradio-runtime/lib')
-rw-r--r-- | gnuradio-runtime/lib/buffer_single_mapped.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/lib/buffer_single_mapped.cc b/gnuradio-runtime/lib/buffer_single_mapped.cc index db7959c5b4..56d52344d8 100644 --- a/gnuradio-runtime/lib/buffer_single_mapped.cc +++ b/gnuradio-runtime/lib/buffer_single_mapped.cc @@ -269,8 +269,8 @@ bool buffer_single_mapped::input_blocked_callback_logic(int items_required, int items_avail, unsigned read_index, char* buffer_ptr, - memcpy_func_t memcpy_func, - memmove_func_t memmove_func) + mem_func_t const& memcpy_func, + mem_func_t const& memmove_func) { #ifdef BUFFER_DEBUG std::ostringstream msg; @@ -357,7 +357,7 @@ bool buffer_single_mapped::input_blocked_callback_logic(int items_required, bool buffer_single_mapped::output_blocked_callback_logic(int output_multiple, bool force, char* buffer_ptr, - memmove_func_t memmove_func) + mem_func_t const& memmove_func) { uint32_t space_avail = space_available(); |