Skip to content

Commit

Permalink
fixing GetHandle bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
alon committed Apr 14, 2024
1 parent 7aceb6d commit cf9294d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions software/gr-caribouLite/lib/caribouLiteSource_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,11 @@ namespace gr {
return read_samples;
}

//-------------------------------------------------------------------------------------------------------------
uint64_t caribouLiteSource_impl::getHandle() const
{
return (uint64_t)((void*)(_radio));
}

} /* namespace caribouLite */
} /* namespace gr */
5 changes: 1 addition & 4 deletions software/gr-caribouLite/lib/caribouLiteSource_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ namespace gr
gr_vector_void_star &output_items
);

uint64_t getHandle() const
{
return (uint64_t)((void*)(_radio));
}
uint64_t getHandle() const;
};

} // namespace caribouLite
Expand Down

0 comments on commit cf9294d

Please sign in to comment.